SankeyLegendComponent
The configuration options of the Sankey legend (see example).
Selector
kendo-sankey-legend
Inputs
Name | Type | Default | Description |
---|---|---|---|
align |
|
|
The legend is horizontally aligned when |
background |
|
|
The background color of the legend. Accepts a valid CSS color string, including hex and rgb. |
border |
|
The border of the legend. | |
height |
|
The height of the legend when | |
labels |
|
The label configuration of the Chart legend. | |
margin |
|
|
The margin of the Sankey legend. A numeric value sets all paddings. |
markers |
|
The configuration of the Chart legend markers. | |
offsetX |
|
|
The X offset of the Sankey legend. The offset is relative to the default position of the legend.
For example, a value of |
offsetY |
|
|
The Y offset of the Sankey legend. The offset is relative to the current position of the legend.
For example, a value of |
orientation |
|
|
The orientation of the legend items. |
padding |
|
|
The padding of the Sankey legend. A numeric value sets all paddings. |
position |
|
|
The position of the Sankey legend.
Setting the legend position to |
reverse |
|
|
If set to |
spacing |
|
The distance (in pixels) between the legend items. Defaults to | |
title |
|
The title of the Chart legend. By default, the Chart will not render a legend title. | |
visible |
|
|
If set to |
width |
|
The legend width when the |
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. ts
| ||||||
|