stream-charts
    Preparing search index...
    • Adds a clip area for the chart to the specified SVG element. The clip-area is given an id of clip-series-<chart_id>, which because the chart ID should be unique, makes this unique as well

      Parameters

      • chartId: number

        The ID of the chart to which the clip area is to be added

      • axisId: string

        The ID of the axis to which the clip area is to be added

      • svg: SvgSelection

        The SVG element to which the clip area is to be added

      • location: AxisLocation

        The location of the axis

      • plotDimensions: Dimensions

        The dimensions of the plot

      • margin: Margin

        The margins around the plot

      Returns string

      The ID of the clip-path