SankeyLegend
Represents the Sankey legend options.
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 | |
item? |
|
The configuration of the legend items. | |
labels? |
|
The label configuration of the Chart legend. | |
margin? |
|
The margin of the Chart legend. A numeric value sets all paddings. | |
markers? |
|
The configuration of the Chart legend markers. | |
offsetX? |
|
The X offset of the Chart legend. The offset is relative to the default position of the legend.
For example, a value of | |
offsetY? |
|
The Y offset of the chart 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 Chart legend. A numeric value sets all paddings. | |
position? |
|
The positions of the Chart 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 |