stream-charts
    Preparing search index...

    The range of an axis is the physical (start, end) pixels on the screen for the axis. This is the pixel-space of the axis (where as the domain is the data-space of the axis, for example, the tick values).

    Index

    Properties

    end: number
    start: number

    Methods

    • Converts the axis interval to a tuple

      Returns [start: number, end: number]

      The axis interval as a tuple

    • Determines whether the specified axis interval is equal to this one.

      Parameters

      Returns boolean

      true if the specified axis interval is equal to this one, false otherwise.

    • Parameters

      • start: number
      • end: number

      Returns boolean

      true if the specified axis interval is equal to this one, false otherwise

    • Applies the specified function to the axis interval and returns the result

      Parameters

      • fn: (start: number, end: number) => [start: number, end: number]

        The function to apply to the axis interval

      Returns AxisInterval

      The result of the function application

    • Calculates the measure (end - start) of the specified axis interval. The measure of an empty axis interval is 0.

      Returns number

      The measure (end - start) of the specified axis interval