Defines the fluent API for configuring SankeyLegendItemSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class SankeyLegendItemSettingsBuilder
Inheritance: objectSankeyLegendItemSettingsBuilder
Inherited Members
Constructors
SankeyLegendItemSettingsBuilder method.
public SankeyLegendItemSettingsBuilder(SankeyLegendItemSettings container)
Properties
Gets the settings being configured.
protected SankeyLegendItemSettings Container { get; }
Methods
The background color of the legend item square element. Accepts a valid CSS color string, including HEX and RGB. Defaults to the corresponding node color.
public SankeyLegendItemSettingsBuilder AreaBackground(string value)
The value for AreaBackground
Returns:SankeyLegendItemSettingsBuilder
Returns the current SankeyLegendItemSettingsBuilder instance.
The opacity of the legend item square element. Defaults to the corresponding node opacity.
public SankeyLegendItemSettingsBuilder AreaOpacity(double value)
The value for AreaOpacity
Returns:SankeyLegendItemSettingsBuilder
Returns the current SankeyLegendItemSettingsBuilder instance.
The cursor style of the legend item.
public SankeyLegendItemSettingsBuilder Cursor(string value)
The value for Cursor
Returns:SankeyLegendItemSettingsBuilder
Returns the current SankeyLegendItemSettingsBuilder instance.
A function that can be used to create a custom visual for the legend items. The available argument fields are: options—The item options. or createVisual—A function for getting the default visual..
public SankeyLegendItemSettingsBuilder Visual(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:SankeyLegendItemSettingsBuilder
Returns the current SankeyLegendItemSettingsBuilder instance.
A function that can be used to create a custom visual for the legend items. The available argument fields are: options—The item options. or createVisual—A function for getting the default visual..
public SankeyLegendItemSettingsBuilder Visual(string handler)
The name of the JavaScript function that will be evaluated.
Returns:SankeyLegendItemSettingsBuilder
Returns the current SankeyLegendItemSettingsBuilder instance.