New to Kendo UI for AngularStart a free 30-day trial

SankeyLabelDefaults

Updated on Mar 30, 2026

Represents the default label options of the Sankey component. These settings will be applied to all labels unless overridden by individual data items.

NameTypeDefaultDescription

align?

"left" | "right" | "center"

'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.

visible?

boolean

true

The visibility of the label.

Not finding the help you need?
Contact Support