New to Kendo UI for Angular? Start a free 30-day trial

SankeyLabel

Represents the labels options of the Sankey widget.

NameTypeDefaultDescription

align?

"center" | "left" | "right"

'left'

The alignment of the label.

border?

Border

{ width: 0 }

The border of the label.

color?

string

The color of the label.

font?

string

The font of the label.

margin?

SankeyHorizontalMargin

{ left: 8, right: 8 }

The margin of the label.

offset?

SankeyOffset

{ top: 0, left: 0 }

The offset applied to the label's position.

padding?

number | Padding

0

The padding of the label.

position?

"inside" | "before" | "after"

'inside'

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.

stroke?

SankeyLabelStroke

{ width: 1, lineJoin: 'round' }

The stroke of the label.

text?

string

The text of the label.

visible?

boolean

true

The visibility of the label.