New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Defines the fluent API for configuring ChartPlotAreaSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class ChartPlotAreaSettingsBuilder<T> where T : class

Inheritance: objectChartPlotAreaSettingsBuilder<T>

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a new instance of the ChartPlotAreaSettingsBuilder<T> class.

C#
public ChartPlotAreaSettingsBuilder(ChartPlotAreaSettings<T> container)
Parameters:containerChartPlotAreaSettings<T>

The ChartPlotAreaSettings<T> container

Properties

Gets the ChartPlotAreaSettings<T> container.

C#
protected ChartPlotAreaSettings<T> Container { get; }

Methods

The background color of the chart plot area. Accepts a valid CSS color string, including hex and rgb.

C#
public ChartPlotAreaSettingsBuilder<T> Background(string value)
Parameters:valuestring

The value for Background

Returns:

ChartPlotAreaSettingsBuilder<T>

Returns the current ChartPlotAreaSettingsBuilder<T> instance.

The border of the chart plot area.

C#
public ChartPlotAreaSettingsBuilder<T> Border(Action<ChartPlotAreaBorderSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartPlotAreaBorderSettingsBuilder<T>>

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.

C#
public ChartPlotAreaSettingsBuilder<T> Margin(Action<ChartPlotAreaMarginSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartPlotAreaMarginSettingsBuilder<T>>

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.

C#
public ChartPlotAreaSettingsBuilder<T> Opacity(double value)
Parameters:valuedouble

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.

C#
public ChartPlotAreaSettingsBuilder<T> Padding(Action<ChartPlotAreaPaddingSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartPlotAreaPaddingSettingsBuilder<T>>

The ChartPlotAreaPaddingSettingsBuilder<T> for the padding setting.

Returns:

ChartPlotAreaSettingsBuilder<T>

Returns the current instance of ChartPlotAreaSettingsBuilder<T> .