New to KendoReactStart a free 30-day trial

SankeyLink

Interface

Represents the links options of the Sankey component.

Definition

Package:@progress/kendo-react-charts

Properties

color?

string

The color of the link. The color is used when the colorType option is set to static.

colorType?

"static" | "source" | "target"

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.
Default:

'static'

The highlight options of the link.

Default:

{ opacity: 0.8, inactiveOpacity: 0.2 }

opacity?

number

The opacity of the link.

Default:

0.4

sourceId

string | number

The source node ID of the link.

targetId

string | number

The target node ID of the link.

value

number

The value of the link.