SankeyLinksComponent
Component
Represents the configuration options of the Sankey links (see example).
Definition
Package:@progress/kendo-angular-charts
Selector:kendo-sankey-links
Inputs
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'scoloroption.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 focus highlight options of the Sankey link elements.
The highlight options of the link.
Default:
{ opacity: 0.8, inactiveOpacity: 0.2 }
opacity?
number
The opacity of the link.
Default:
0.4
Methods
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.
Parameters:changesany
An object containing the updated input fields.