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

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class SankeyLegendSettings : JsonObject

Inheritance: objectJsonObjectSankeyLegendSettings

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

Constructors

Initialization for the SankeyLegendSettings

C#
public SankeyLegendSettings()

Properties

The alignment of the legend label.

C#
public LabelAlign? Align { get; set; }

The background color of the legend.

C#
public string Background { get; set; }

The border of the legend.

C#
public SankeyLegendBorderSettings Border { get; set; }

The height of the legend.

C#
public double? Height { get; set; }

The configuration of the legend items.

C#
public SankeyLegendItemSettings Item { get; set; }

The Sankey legend label configuration.

C#
public SankeyLegendLabelsSettings Labels { get; set; }

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

C#
public SankeyLegendMarginSettings Margin { get; set; }

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 double? OffsetX { get; set; }

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 double? OffsetY { get; set; }

The position of the label.

C#
public Orientation? Orientation { get; set; }

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

C#
public SankeyLegendPaddingSettings Padding { get; set; }

The position of the label.

C#
public LegendPosition? Position { get; set; }

If set to true the legend items will be reversed.

C#
public bool? Reverse { get; set; }

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

C#
public double? Spacing { get; set; }

The legend title configuration options.

C#
public SankeyLegendTitleSettings Title { get; set; }

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

C#
public bool? Visible { get; set; }

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

C#
public double? Width { get; set; }

Methods

Serialize current instance to Dictionary

C#
protected override void Serialize(IDictionary<string, object> json)
Parameters:jsonIDictionary<string, object>

Overrides: JsonObject.Serialize(IDictionary<string, object>)