Defines the fluent API for configuring ChartLegendTitleSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class ChartLegendTitleSettingsBuilder<T> where T : class
Inheritance: objectChartLegendTitleSettingsBuilder<T>
Inherited Members
Constructors
ChartLegendTitleSettingsBuilder method.
public ChartLegendTitleSettingsBuilder(ChartLegendTitleSettings<T> container)
Properties
Gets or sets the Container.
protected ChartLegendTitleSettings<T> Container { get; }
Methods
The alignment of the title. "center" - the text is aligned to the middle.; "left" - the text is aligned to the left. or "right" - the text is aligned to the right..
public ChartLegendTitleSettingsBuilder<T> Align(string value)
The value for Align
Returns:ChartLegendTitleSettingsBuilder<T>
Returns the current ChartLegendTitleSettingsBuilder<T> instance.
The background color of the title. Accepts a valid CSS color string, including hex and rgb.
public ChartLegendTitleSettingsBuilder<T> Background(string value)
The value for Background
Returns:ChartLegendTitleSettingsBuilder<T>
Returns the current ChartLegendTitleSettingsBuilder<T> instance.
The border of the title.
public ChartLegendTitleSettingsBuilder<T> Border(Action<ChartLegendTitleBorderSettingsBuilder<T>> configurator)
The ChartLegendTitleBorderSettingsBuilder<T> for the border setting.
Returns:ChartLegendTitleSettingsBuilder<T>
Returns the current instance of ChartLegendTitleSettingsBuilder<T> .
The text color of the title. Accepts a valid CSS color string, including hex and rgb.
public ChartLegendTitleSettingsBuilder<T> Color(string value)
The value for Color
Returns:ChartLegendTitleSettingsBuilder<T>
Returns the current ChartLegendTitleSettingsBuilder<T> instance.
The font of the title.
public ChartLegendTitleSettingsBuilder<T> Font(string value)
The value for Font
Returns:ChartLegendTitleSettingsBuilder<T>
Returns the current ChartLegendTitleSettingsBuilder<T> instance.
The margin of the title. A numeric value will set all margins.
public ChartLegendTitleSettingsBuilder<T> Margin(Action<ChartLegendTitleMarginSettingsBuilder<T>> configurator)
The ChartLegendTitleMarginSettingsBuilder<T> for the margin setting.
Returns:ChartLegendTitleSettingsBuilder<T>
Returns the current instance of ChartLegendTitleSettingsBuilder<T> .
The padding of the title. A numeric value will set all margins.
public ChartLegendTitleSettingsBuilder<T> Padding(Action<ChartLegendTitlePaddingSettingsBuilder<T>> configurator)
The ChartLegendTitlePaddingSettingsBuilder<T> for the padding setting.
Returns:ChartLegendTitleSettingsBuilder<T>
Returns the current instance of ChartLegendTitleSettingsBuilder<T> .
The position of the title. "bottom" - the title is positioned on the bottom. or "top" - the title is positioned on the top..
public ChartLegendTitleSettingsBuilder<T> Position(string value)
The value for Position
Returns:ChartLegendTitleSettingsBuilder<T>
Returns the current ChartLegendTitleSettingsBuilder<T> instance.
The text of the legend title. You can also set the text directly for a title with default options.
public ChartLegendTitleSettingsBuilder<T> Text(string value)
The value for Text
Returns:ChartLegendTitleSettingsBuilder<T>
Returns the current ChartLegendTitleSettingsBuilder<T> instance.
If set to true the chart will display the title. By default the title will be displayed.
public ChartLegendTitleSettingsBuilder<T> Visible(bool value)
The value for Visible
Returns:ChartLegendTitleSettingsBuilder<T>
Returns the current ChartLegendTitleSettingsBuilder<T> instance.