If this is set it will be used to get text values from metaData, rather than formatting y values. The selector will be called even if the metaData for an index is undefined.
The Parent RenderableSeries
Whether the label text should update when the label position is animating. Default false.
The SciChart 2D WebAssembly Context containing native methods and access to our WebGL2 Engine and WebAssembly numerical methods
A function to pick which y values to use from the pointSeries passed in on the renderPassData
Gets or Sets whether text should be positioned above the line if it is going down, and below the line if it going up. Default true. When true this overrides horizontalAnchorPoint and verticalAnchorPoint to be left, bottom.
Gets or Sets whether text should be positioned above the line if it is going down, and below the line if it going up. Default true. When true this overrides horizontalAnchorPoint and verticalAnchorPoint to be left, bottom.
Gets or sets the color for data labels. Defaults to axis label color
Gets or sets the color for data labels. Defaults to axis label color
Gets the engineering prefixes to use when formatting values to text.
Gets or sets the engineering prefixes to use when formatting values to text.
Default - ['K','M','B','T']
for "large" prefixes, ['m','u','n','p']
for small prefixes
Gets or sets the horizontal text position for the label For more control, override getPosition
Gets or sets the horizontal text position for the label For more control, override getPosition
Flag to enable/disable dataLabel generation. Default true
Flag to enable/disable dataLabel generation. Default true
Gets or sets numeric format to use when formatting values to text. For a list of values, see ENumericFormat For more control, override getText
Gets or sets numeric format to use when formatting values to text. For a list of values, see ENumericFormat For more control, override getText
Gets or sets the number of points below which drawing will start. Default Infinity This can be used instead of pointGapThreshold when data is unevenly spaced or has large y variation
Gets or sets the number of points below which drawing will start. Default Infinity This can be used instead of pointGapThreshold when data is unevenly spaced or has large y variation
Gets or sets the zoom threshold above which label drawing will start. Default 0. This is expressed as the gap between the first points divided by the size of the first text If data is unevenly spaced, consider pointCountThreshold or override shouldDrawText
Gets or sets the zoom threshold above which label drawing will start. Default 0. This is expressed as the gap between the first points divided by the size of the first text If data is unevenly spaced, consider pointCountThreshold or override shouldDrawText
Gets or sets the precision to use when formatting values to text For more control, override getText
Gets or sets the precision to use when formatting values to text For more control, override getText
Gets or Sets whether to render a single label with both y and y1 values, in the center of the band, or separate labels for each line. Default false.
Gets or Sets whether to render a single label with both y and y1 values, in the center of the band, or separate labels for each line. Default false.
How do decide whether to keep or skip a label once generated. Override shouldSkipLabel for more control
How do decide whether to keep or skip a label once generated. Override shouldSkipLabel for more control
The number of points to skip while generating labels. Default 0 = no skip. 1 = skip every other. When creating text with many data points, it will help performance to skip points rather than creating and checking overlap for every data point.
The number of points to skip while generating labels. Default 0 = no skip. 1 = skip every other. When creating text with many data points, it will help performance to skip points rather than creating and checking overlap for every data point.
Gets or sets the text style used for data labels. The style must be set, with fontFamily and fontSize set, in order for text to be drawn.
Gets or sets the text style used for data labels. The style must be set, with fontFamily and fontSize set, in order for text to be drawn.
Gets or sets the vertical text position for the label For more control, override getPosition
Gets or sets the vertical text position for the label For more control, override getPosition
Generates labels using getText, getPosition, getColor. Overrides manually set labels.
When doing separate labels for each line (ie singleLabel = false) this is used to create a provider to generate the labels for the y1 series. By default this creates a LineSeriesDataLabelProvider using the same options as on the current provider.
Called at the start of generateDataLabels. If false, no labels will be generated. Checks pointCountThreshold then pointGapThreshold
Update the style. Only the properties passed will be updated
Generated using TypeDoc
The text to draw, along with the sizes and positions. Usually generated, but can be set or updated before final drawing