stream-charts
    Preparing search index...

    Function addEmptyYAxis

    • Adds a new empty y-axis to the SVG element at the specified location. An empty axis is just a line where the axis would be, without any ticks or labels.

      Parameters

      • axisId: string

        The ID of the axis

      • svg: SvgSelection

        The SVG selection to which to add the axis

      • plotDimensions: Dimensions

        The dimensions of the plot

      • location: Left | Right

        The location of the axis

      • scaleGenerator: ScaleContinuousNumeric<number, number>

        The higher-order function that returns the axis d3 "scale" function

      • margin: Margin

        The plot margins for the border of main SVG group

      • setAxisRangeFor: (axisId: string, timeRange: AxisInterval) => void

        A callback used to set the axis range

      • domain: [minValue: number, maxValue: number] = ...

        The axis range (start, end)

      Returns ContinuousNumericAxis

      A ContinuousNumericAxis based on the arguments to this function