Defines the fluent API for configuring the SankeyLegendSettings settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class SankeyLegendSettingsBuilder
Inheritance: objectSankeyLegendSettingsBuilder
Inherited Members
Constructors
Initialize the SankeyLegendSettingsBuilder
public SankeyLegendSettingsBuilder(SankeyLegendSettings settings)
Methods
The alignment of the legend label.
public SankeyLegendSettingsBuilder Align(LabelAlign value)
The value that configures the align.
Returns:The background color of the legend.
public SankeyLegendSettingsBuilder Background(string value)
The value that configures the background.
Returns:The border of the legend.
public SankeyLegendSettingsBuilder Border(Action<SankeyLegendBorderSettingsBuilder> configurator)
The action that configures the border.
Returns:The height of the legend.
public SankeyLegendSettingsBuilder Height(double value)
The value that configures the height.
Returns:The configuration of the legend items.
public SankeyLegendSettingsBuilder Item(Action<SankeyLegendItemSettingsBuilder> configurator)
The action that configures the item.
Returns:The Sankey legend label configuration.
public SankeyLegendSettingsBuilder Labels(Action<SankeyLegendLabelsSettingsBuilder> configurator)
The action that configures the labels.
Returns:The margin of the Sankey legend. A numeric value will set all paddings.
public SankeyLegendSettingsBuilder Margin(Action<SankeyLegendMarginSettingsBuilder> configurator)
The action that configures the margin.
Returns: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.
public SankeyLegendSettingsBuilder OffsetX(double value)
The value that configures the offsetx.
Returns: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.
public SankeyLegendSettingsBuilder OffsetY(double value)
The value that configures the offsety.
Returns:The position of the label.
public SankeyLegendSettingsBuilder Orientation(Orientation value)
The value that configures the orientation.
Returns:The padding of the Sankey legend. A numeric value will set all paddings.
public SankeyLegendSettingsBuilder Padding(Action<SankeyLegendPaddingSettingsBuilder> configurator)
The action that configures the padding.
Returns:The position of the label.
public SankeyLegendSettingsBuilder Position(LegendPosition value)
The value that configures the position.
Returns:If set to true the legend items will be reversed.
public SankeyLegendSettingsBuilder Reverse(bool value)
The value that configures the reverse.
Returns:The spacing between the labels in pixels when the legend.orientation is "horizontal".
public SankeyLegendSettingsBuilder Spacing(double value)
The value that configures the spacing.
Returns:The legend title configuration options.
public SankeyLegendSettingsBuilder Title(Action<SankeyLegendTitleSettingsBuilder> configurator)
The action that configures the title.
Returns:If set to false the Sankey will not display the legend.
public SankeyLegendSettingsBuilder Visible(bool value)
The value that configures the visible.
Returns:The legend width when the legend.orientation is set to "horizontal".
public SankeyLegendSettingsBuilder Width(double value)
The value that configures the width.
Returns: