Accumulation Chart - SmartLabelSettings

18 Nov 20261 minute to read

class for relocated data label customization.

Properties

background string

The background color for the relocated label.

Defaults to null

border BorderModel

The border properties for the relocated label.

connectorLineStyle ConnectorLineStyleModel

The connector line properties for the relocated label.
To hide the connector line, set color to 'transparent' or width to 0.

offset number

Specifies the position of the connector line and data label for relocated labels.
This property is used when a data label is relocated due to overlap with another data label.
The value ranges from 0 to 1:

  • 0: Positions the connector at the start of the point region.
  • 0.5: Positions the connector at the center of the point region.
  • 1: Positions the connector at the end of the point region.

This property is applicable only when labelIntersectAction is set to RelocateVertically.
In vertical relocation mode, all connector lines and pointers are aligned along the same line,
making it difficult to identify the corresponding data point. The offset property helps
distinguish the connector position by adjusting its anchor point within the point region.

Defaults to 0.5

pointerShape RelocatePointerShape

Specifies the pointer shape displayed between the connector line and the label.
The available options are:

  • None - Displays the relocated label without a pointer.
  • Arrow - Displays an arrow pointer between the connector line and the relocated label.

Defaults to ‘Arrow’

seriesOverlapAction SeriesOverlapAction

Specifies the action to take when a data label overlaps a series element, such as a line or
forecast (trendline) path, an area region, or a column, bar or other rectangular element of any series.
Available options are:

  • None - Shows all the data labels, even when they overlap a series element.
  • Hide - Hides the data label when it overlaps any series element.

Only the overlapping labels are hidden; every label with enough free space stays visible.
Labels are not moved by this property. They are repositioned only when smart labels are enabled
(enableSmartLabels), in which case a free position that avoids the series elements is searched
first and the label is hidden only if none is found.
The rectangular element of the label’s own point (its column or bar) is not treated as an overlap.

Defaults to ‘None’