Defines the fluent API for configuring ChartPlotAreaSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class ChartPlotAreaSettingsBuilder<T> where T : class
Inheritance: objectChartPlotAreaSettingsBuilder<T>
Inherited Members
Constructors
Initializes a new instance of the ChartPlotAreaSettingsBuilder<T> class.
public ChartPlotAreaSettingsBuilder(ChartPlotAreaSettings<T> container)
The ChartPlotAreaSettings<T> container
Properties
Gets the ChartPlotAreaSettings<T> container.
protected ChartPlotAreaSettings<T> Container { get; }
Methods
The background color of the chart plot area. Accepts a valid CSS color string, including hex and rgb.
public ChartPlotAreaSettingsBuilder<T> Background(string value)
The value for Background
Returns:ChartPlotAreaSettingsBuilder<T>
Returns the current ChartPlotAreaSettingsBuilder<T> instance.
The border of the chart plot area.
public ChartPlotAreaSettingsBuilder<T> Border(Action<ChartPlotAreaBorderSettingsBuilder<T>> configurator)
The ChartPlotAreaBorderSettingsBuilder<T> for the border setting.
Returns:ChartPlotAreaSettingsBuilder<T>
Returns the current instance of ChartPlotAreaSettingsBuilder<T> .
The margin of the chart plot area. A numeric value will set all margins.
public ChartPlotAreaSettingsBuilder<T> Margin(Action<ChartPlotAreaMarginSettingsBuilder<T>> configurator)
The ChartPlotAreaMarginSettingsBuilder<T> for the margin setting.
Returns:ChartPlotAreaSettingsBuilder<T>
Returns the current instance of ChartPlotAreaSettingsBuilder<T> .
The background opacity of the chart plot area. By default the background is opaque.
public ChartPlotAreaSettingsBuilder<T> Opacity(double value)
The value for Opacity
Returns:ChartPlotAreaSettingsBuilder<T>
Returns the current ChartPlotAreaSettingsBuilder<T> instance.
The padding of the chart plot area. A numeric value will set all paddings.The default padding for pie, donut, radar and polar charts is proportional of the chart size.
public ChartPlotAreaSettingsBuilder<T> Padding(Action<ChartPlotAreaPaddingSettingsBuilder<T>> configurator)
The ChartPlotAreaPaddingSettingsBuilder<T> for the padding setting.
Returns:ChartPlotAreaSettingsBuilder<T>
Returns the current instance of ChartPlotAreaSettingsBuilder<T> .