Configures sankey nodes' labels.
Object
Configures the labels' borders.
Customizes the labels' texts.
Function
Node
The Node object.
String
The text to be displayed in a label.
this
Specifies the labels' font properties.
Moves the labels horizontally from their initial positions.
Number
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.
Specifies how to arrange labels when there is insufficient space to display them all.
TextOverflow
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.
Configures the labels' shadows.
Specifies whether to color labels in the nodes' colors.
Boolean
Moves the labels vertically from their initial positions.
The number assigned to this property specifies the shift in pixels. A negative number shifts the labels to the top, a positive number - to the bottom.
Specifies whether the labels are visible.