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

SankeyNodesComponent

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

Selector

kendo-sankey-nodes

Inputs

NameTypeDefaultDescription

align?

"left" | "right" | "stretch"

'stretch'

The alignment of the node.

color?

string

The color of the node.

colorType?

"static" | "source" | "target"

'static'

The color type of the link. The supported values are:

  • static—The link color is static. The color is determined by the link's color option.
  • source—The link color is the same as the source node color.
  • target—The link color is the same as the target node color.

offset?

SankeyOffset

{ top: 0, left: 0 }

The offset applied to the node's position.

opacity?

number

1

The opacity of the node.

padding?

number

16

The minimum vertical space between two nodes.

width?

number

24

The width of the node.

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?