SankeyLegendSettingsTagHelper
Example
Razor
<legend>
<border />
<item></item>
<labels></labels>
<margin />
<padding />
<title />
</legend>
ChildTags
Attributes
Attribute | Type | Description |
---|---|---|
align | LabelAlign | The alignment of the legend label. |
background | String | The background color of the legend. |
height | Double | The height of the legend. |
offset-x | Double | The X offset of the Sankey legend. The offset is relative to the default position of the legend. For instance, a value of 20 will move the legend 20 pixels to the right of its initial position. A negative value will move the legend to the left of its current position. |
offset-y | Double | The Y offset of the Sankey legend. The offset is relative to the current position of the legend. For instance, a value of 20 will move the legend 20 pixels down from its initial position. A negative value will move the legend upwards from its current position. |
orientation | Orientation | The position of the label. |
position | LegendPosition | The position of the label. |
reverse | Boolean | If set to true the legend items will be reversed. |
spacing | Double | The spacing between the labels in pixels when the legend.orientation is "horizontal". |
visible | Boolean | If set to false the Sankey will not display the legend. |
width | Double | The legend width when the legend.orientation is set to "horizontal". |