Skip to content

BinningOptions does not validate extremeValuesMode #2173

Open

Description

@unsafePtr

OxyPlot 2.2.1 (current develop).

The BinningOptions constructor checks intervalType twice and never checks extremeValuesMode, so an undefined value is accepted:

new BinningOptions(BinningOutlierMode.RejectOutliers, BinningIntervalType.InclusiveLowerBound, (BinningExtremeValueMode)999); // no exception

Expected: an ArgumentException for extremeValuesMode, as for the other two arguments.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions