New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the fluent API for configuring the SankeyLegendSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class SankeyLegendSettingsBuilder

Inheritance: objectSankeyLegendSettingsBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public SankeyLegendSettingsBuilder(SankeyLegendSettings settings)
Parameters:settingsSankeyLegendSettings

The SankeyLegendSettings

Methods

The alignment of the legend label.

C#
public SankeyLegendSettingsBuilder Align(LabelAlign value)
Parameters:valueLabelAlign

The value that configures the align.

Returns:

SankeyLegendSettingsBuilder

The background color of the legend.

C#
public SankeyLegendSettingsBuilder Background(string value)
Parameters:valuestring

The value that configures the background.

Returns:

SankeyLegendSettingsBuilder

The border of the legend.

C#
public SankeyLegendSettingsBuilder Border(Action<SankeyLegendBorderSettingsBuilder> configurator)
Parameters:configuratorAction<SankeyLegendBorderSettingsBuilder>

The action that configures the border.

Returns:

SankeyLegendSettingsBuilder

The height of the legend.

C#
public SankeyLegendSettingsBuilder Height(double value)
Parameters:valuedouble

The value that configures the height.

Returns:

SankeyLegendSettingsBuilder

The configuration of the legend items.

C#
public SankeyLegendSettingsBuilder Item(Action<SankeyLegendItemSettingsBuilder> configurator)
Parameters:configuratorAction<SankeyLegendItemSettingsBuilder>

The action that configures the item.

Returns:

SankeyLegendSettingsBuilder

The Sankey legend label configuration.

C#
public SankeyLegendSettingsBuilder Labels(Action<SankeyLegendLabelsSettingsBuilder> configurator)
Parameters:configuratorAction<SankeyLegendLabelsSettingsBuilder>

The action that configures the labels.

Returns:

SankeyLegendSettingsBuilder

The margin of the Sankey legend. A numeric value will set all paddings.

C#
public SankeyLegendSettingsBuilder Margin(Action<SankeyLegendMarginSettingsBuilder> configurator)
Parameters:configuratorAction<SankeyLegendMarginSettingsBuilder>

The action that configures the margin.

Returns:

SankeyLegendSettingsBuilder

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.

C#
public SankeyLegendSettingsBuilder OffsetX(double value)
Parameters:valuedouble

The value that configures the offsetx.

Returns:

SankeyLegendSettingsBuilder

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.

C#
public SankeyLegendSettingsBuilder OffsetY(double value)
Parameters:valuedouble

The value that configures the offsety.

Returns:

SankeyLegendSettingsBuilder

The position of the label.

C#
public SankeyLegendSettingsBuilder Orientation(Orientation value)
Parameters:valueOrientation

The value that configures the orientation.

Returns:

SankeyLegendSettingsBuilder

The padding of the Sankey legend. A numeric value will set all paddings.

C#
public SankeyLegendSettingsBuilder Padding(Action<SankeyLegendPaddingSettingsBuilder> configurator)
Parameters:configuratorAction<SankeyLegendPaddingSettingsBuilder>

The action that configures the padding.

Returns:

SankeyLegendSettingsBuilder

The position of the label.

C#
public SankeyLegendSettingsBuilder Position(LegendPosition value)
Parameters:valueLegendPosition

The value that configures the position.

Returns:

SankeyLegendSettingsBuilder

If set to true the legend items will be reversed.

C#
public SankeyLegendSettingsBuilder Reverse(bool value)
Parameters:valuebool

The value that configures the reverse.

Returns:

SankeyLegendSettingsBuilder

The spacing between the labels in pixels when the legend.orientation is "horizontal".

C#
public SankeyLegendSettingsBuilder Spacing(double value)
Parameters:valuedouble

The value that configures the spacing.

Returns:

SankeyLegendSettingsBuilder

The legend title configuration options.

C#
public SankeyLegendSettingsBuilder Title(Action<SankeyLegendTitleSettingsBuilder> configurator)
Parameters:configuratorAction<SankeyLegendTitleSettingsBuilder>

The action that configures the title.

Returns:

SankeyLegendSettingsBuilder

If set to false the Sankey will not display the legend.

C#
public SankeyLegendSettingsBuilder Visible(bool value)
Parameters:valuebool

The value that configures the visible.

Returns:

SankeyLegendSettingsBuilder

The legend width when the legend.orientation is set to "horizontal".

C#
public SankeyLegendSettingsBuilder Width(double value)
Parameters:valuedouble

The value that configures the width.

Returns:

SankeyLegendSettingsBuilder