SankeyLegendSettingsTagHelper

Example

Razor
<legend>
    <border />
    <item></item>
    <labels></labels>
    <margin />
    <padding />
    <title />
</legend>

ChildTags

Attributes

AttributeTypeDescription
alignLabelAlignThe alignment of the legend label.
backgroundStringThe background color of the legend.
heightDoubleThe height of the legend.
offset-xDoubleThe 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-yDoubleThe 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.
orientationOrientationThe position of the label.
positionLegendPositionThe position of the label.
reverseBooleanIf set to true the legend items will be reversed.
spacingDoubleThe spacing between the labels in pixels when the legend.orientation is "horizontal".
visibleBooleanIf set to false the Sankey will not display the legend.
widthDoubleThe legend width when the legend.orientation is set to "horizontal".
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support