SankeyLegendSettings
Defines the fluent API for configuring the SankeyLegendSettings settings.
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class SankeyLegendSettings : JsonObject
Inheritance: objectJsonObjectSankeyLegendSettings
Inherited Members
Constructors
Initialization for the SankeyLegendSettings
public SankeyLegendSettings()
Properties
The alignment of the legend label.
public LabelAlign? Align { get; set; }
The background color of the legend.
public string Background { get; set; }
The border of the legend.
public SankeyLegendBorderSettings Border { get; set; }
The configuration of the legend items.
public SankeyLegendItemSettings Item { get; set; }
The Sankey legend label configuration.
public SankeyLegendLabelsSettings Labels { get; set; }
The margin of the Sankey legend. A numeric value will set all paddings.
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.
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.
public double? OffsetY { get; set; }
The position of the label.
public Orientation? Orientation { get; set; }
The padding of the Sankey legend. A numeric value will set all paddings.
public SankeyLegendPaddingSettings Padding { get; set; }
The position of the label.
public LegendPosition? Position { get; set; }
The spacing between the labels in pixels when the legend.orientation is "horizontal".
public double? Spacing { get; set; }
The legend title configuration options.
public SankeyLegendTitleSettings Title { get; set; }
If set to false the Sankey will not display the legend.
public bool? Visible { get; set; }
Methods
Serialize current instance to Dictionary
protected override void Serialize(IDictionary<string, object> json)
Overrides: