Defines the fluent API for configuring ChartChartAreaSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class ChartChartAreaSettingsBuilder<T> where T : class
Inheritance: objectChartChartAreaSettingsBuilder<T>
Inherited Members
Constructors
Initializes a new instance of the ChartChartAreaSettingsBuilder<T> class.
public ChartChartAreaSettingsBuilder(ChartChartAreaSettings<T> container)
The ChartChartAreaSettings<T> container
Properties
Gets the ChartChartAreaSettings<T> container.
protected ChartChartAreaSettings<T> Container { get; }
Methods
The background color of the chart area. Accepts a valid CSS color string, including hex and rgb.
public ChartChartAreaSettingsBuilder<T> Background(string value)
The value for Background
Returns:ChartChartAreaSettingsBuilder<T>
Returns the current ChartChartAreaSettingsBuilder<T> instance.
The border of the chart area.
public ChartChartAreaSettingsBuilder<T> Border(Action<ChartChartAreaBorderSettingsBuilder<T>> configurator)
The ChartChartAreaBorderSettingsBuilder<T> for the border setting.
Returns:ChartChartAreaSettingsBuilder<T>
Returns the current instance of ChartChartAreaSettingsBuilder<T> .
The height of the chart area.
public ChartChartAreaSettingsBuilder<T> Height(double value)
The value for Height
Returns:ChartChartAreaSettingsBuilder<T>
Returns the current ChartChartAreaSettingsBuilder<T> instance.
The margin of the chart area. A numeric value will set all margins.
public ChartChartAreaSettingsBuilder<T> Margin(Action<ChartChartAreaMarginSettingsBuilder<T>> configurator)
The ChartChartAreaMarginSettingsBuilder<T> for the margin setting.
Returns:ChartChartAreaSettingsBuilder<T>
Returns the current instance of ChartChartAreaSettingsBuilder<T> .
The margin of the chart area. A numeric value will set all margins.
public ChartChartAreaSettingsBuilder<T> Margin(int value)
An integer value to apply as margin.
Returns:ChartChartAreaSettingsBuilder<T>
Returns the current instance of ChartChartAreaSettingsBuilder<T> .
The background opacity of the chart area. By default the background is opaque.
public ChartChartAreaSettingsBuilder<T> Opacity(double value)
The value for Opacity
Returns:ChartChartAreaSettingsBuilder<T>
Returns the current ChartChartAreaSettingsBuilder<T> instance.
The width of the chart area.
public ChartChartAreaSettingsBuilder<T> Width(double value)
The value for Width
Returns:ChartChartAreaSettingsBuilder<T>
Returns the current ChartChartAreaSettingsBuilder<T> instance.