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

SankeyLabelsComponent

The configuration options of the Sankey labels (see example).

Selector

kendo-sankey-labels

Inputs

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?

{ left?: number; right?: number; }

{ 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?

{ color?: string; lineJoin?: "round" | "bevel" | "miter"; width?: number; }

{ width: 1, lineJoin: 'round' }

The stroke of the label.

visible?

boolean

true

The visibility of the label.

Methods

notifyChanges

Updates the component fields with the specified values and refreshes the Chart.

Use this method when the configuration values cannot be set through the template.

item.notifyChanges({ visible: true });
Parameters

changes

any

An object containing the updated input fields.

In this article

Not finding the help you need?