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

Defines the fluent API for configuring ChartChartAreaSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

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

Inheritance: objectChartChartAreaSettingsBuilder<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 ChartChartAreaSettingsBuilder<T> class.

C#
public ChartChartAreaSettingsBuilder(ChartChartAreaSettings<T> container)
Parameters:containerChartChartAreaSettings<T>

The ChartChartAreaSettings<T> container

Properties

Gets the ChartChartAreaSettings<T> container.

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

Methods

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

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

The value for Background

Returns:

ChartChartAreaSettingsBuilder<T>

Returns the current ChartChartAreaSettingsBuilder<T> instance.

The border of the chart area.

C#
public ChartChartAreaSettingsBuilder<T> Border(Action<ChartChartAreaBorderSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartChartAreaBorderSettingsBuilder<T>>

The ChartChartAreaBorderSettingsBuilder<T> for the border setting.

Returns:

ChartChartAreaSettingsBuilder<T>

Returns the current instance of ChartChartAreaSettingsBuilder<T> .

The height of the chart area.

C#
public ChartChartAreaSettingsBuilder<T> Height(double value)
Parameters:valuedouble

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.

C#
public ChartChartAreaSettingsBuilder<T> Margin(Action<ChartChartAreaMarginSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartChartAreaMarginSettingsBuilder<T>>

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.

C#
public ChartChartAreaSettingsBuilder<T> Margin(int value)
Parameters:valueint

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.

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

The value for Opacity

Returns:

ChartChartAreaSettingsBuilder<T>

Returns the current ChartChartAreaSettingsBuilder<T> instance.

The width of the chart area.

C#
public ChartChartAreaSettingsBuilder<T> Width(double value)
Parameters:valuedouble

The value for Width

Returns:

ChartChartAreaSettingsBuilder<T>

Returns the current ChartChartAreaSettingsBuilder<T> instance.