Variable MarkerBuildersConst

MarkerBuilders: {
    ChartMarkerXY: StaticCursorXYBuilder;
    SeriesMarkerXY: StaticCursorXYBuilder;
} = ...

Warning, old and mostly unused API. You most likely don't need this.

Collection of StaticCursorBuilders.

StaticCursorBuilders are used to modify structure of Markers, by passing one when the Marker is created.

Each item is associated with a specific Chart-type, that it can only be used with.

Type declaration

  • ChartMarkerXY: StaticCursorXYBuilder

    Warning, old and mostly unused API. You most likely don't need this.

    Builder that is used by default when creating Chart Markers in ChartXY addChartMarkerXY. This can mainly be used to create chart marker with non-rectangle background (very uncommon requirement).

     // Example
    const chartMarker = ChartXY
    .addChartMarkerXY(MarkerBuilders.ChartMarkerXY.setResultTableBackground(UIBackgrounds.Circle))
    .setResultTable((resultTable) => resultTable
    .setContent([['Hello']])
    )
  • SeriesMarkerXY: StaticCursorXYBuilder

    Warning, old and mostly unused API. You most likely don't need this.

    Builder that is used by default when creating XY Series Markers addMarker. This can mainly be used to create marker with non-rectangle background (very uncommon requirement).

     // Example
    const seriesMarker = SeriesXY.addMarker(MarkerBuilders.SeriesMarkerXY.setResultTableBackground(UIBackgrounds.Circle))