Action
    Preparing search index...

    Enumeration controlling how a categorical axis responds to filtering.

    2.0

    Hierarchy (View Summary)

    Index

    Properties

    ShowAll: CategoryMode

    Show all values.

    ShowFiltered: CategoryMode

    Show filtered values only. Categories that contain no data after filtering will be removed. Most axes have this as default.

    ShowFilteredRange: CategoryMode

    Show filtered range of values. Empty categories at the beginning and end of the scale will be removed. Empty categories in between categories with data are kept.

    The range is computed before any sorting of the values on the axis. This value is currently only supported of axes of type ScaleAxis

    Methods

    • Casts this object to the specified type. Throws error on failure.

      Type Parameters

      • T1

        The target type of the cast.

      • T2

        The type of the object to cast.

      Parameters

      Returns T1

    • Determines whether the specified object is equal to the current object.

      Parameters

      • obj: any

        The object to compare with the current object.

      Returns boolean

      true if the specified object is equal to the current object; otherwise, false.

    • Serves as the default hash function.

      Returns number

      A hash code for the current object.

    • Determines whether one or more bit fields are set in the current instance.

      Parameters

      • flag: Enum

        An enumeration value.

      Returns boolean

      true if the bit field or bit fields that are set in flag are also set in the current instance; otherwise, false.

    • Returns a string that represents the current object.

      Returns string

      A string that represents the current object.

    • Casts this object to the specified type. Returns null on failure.

      Type Parameters

      • T1

        The target type of the cast.

      • T2

        The type of the object to cast.

      Parameters

      Returns null | T1

    • Determines whether the specified object instances are considered equal.

      Parameters

      • objA: any

        The first object to compare.

      • objB: any

        The second object to compare.

      Returns boolean

      true if the objects are considered equal; otherwise, false. If both objA and objB are null, the method returns true.

    Default capability

    • Perform And operation on enum values.

      Parameters

      • ...rest: Enum[]

        The other enum values.

      Returns this

      The result.

      2.0

    • Perform Or operation on enum values.

      Parameters

      • ...rest: Enum[]

        The other enum values.

      Returns this

      The result.

      2.0

    • Perform Xor operation on enum values.

      Parameters

      • ...rest: Enum[]

        The other enum values.

      Returns this

      The result.

      2.0