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