JavaScript/jQuery Sankey - label
Configures sankey nodes' labels.
Type:
See Also
customizeText
Customizes the labels' texts.
Type:
Return Value:
The text to be displayed in a label.
Cannot be used in themes.
NOTE
The
this keyword refers to the current label.horizontalOffset
Moves the labels horizontally from their initial positions.
Type:
Default Value: 5
The number assigned to this property specifies the shift in pixels. A negative number shifts the labels to the left, a positive number - to the right.
overlappingBehavior
Specifies how to arrange labels when there is insufficient space to display them all.
Type:
Default Value: 'ellipsis'
You can set this property to rearrange two overlapping labels. It accepts the following values:
"ellipsis"
Adds ellipsis to one label to leave more space for the other."hide"
Hides one label."none"
Leaves labels overlapped.