SankeyLabel
Interface
Represents the labels options of the Sankey component.
Definition
Package:@progress/kendo-react-charts
Properties
align?
"center" | "left" | "right"
The alignment of the label.
Default:
'left'
border?
Border
The border of the label.
Default:
{ width: 0 }
color?
string
The color of the label.
font?
string
The font of the label.
The margin of the label.
Default:
{ left: 8, right: 8 }
offset?
SankeyOffset
The offset applied to the label's position.
Default:
{ top: 0, left: 0 }
padding?
number | Padding
The padding of the label.
Default:
0
position?
"inside" | "before" | "after"
The position of the label.
The supported values are:
inside—The label is positioned after the node, except for the nodes at the end of the Sankey, that are placed before the node.before—The label is positioned before the node.after—The label is positioned after the node.
Default:
'inside'
The stroke of the label.
Default:
{ width: 1, lineJoin: 'round' }
text?
string
The text of the label.
visible?
boolean
The visibility of the label.
Default:
true