ChartPaneBuilder<T>
Defines the fluent API for configuring ChartPane
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class ChartPaneBuilder<T> where T : class
Inheritance: objectChartPaneBuilder<T>
Inherited Members
Constructors
Initializes a new instance of the ChartPaneBuilder<T> class.
Properties
Methods
The background color of the chart pane. Accepts a valid CSS color string, including hex and rgb.
public ChartPaneBuilder<T> Background(string value)
The value for Background
Returns:Returns the current ChartPaneBuilder<T> instance.
The border of the chart pane.
public ChartPaneBuilder<T> Border(Action<ChartPaneBorderSettingsBuilder<T>> configurator)
The ChartPaneBorderSettingsBuilder<T> for the border setting.
Returns:Returns the current instance of ChartPaneBuilder<T> .
Specifies whether the charts in the pane should be clipped. By default all charts except radar, polar and 100% stacked charts are clipped.
public ChartPaneBuilder<T> Clip(bool value)
The value for Clip
Returns:Returns the current ChartPaneBuilder<T> instance.
The chart pane height in pixels.
public ChartPaneBuilder<T> Height(double value)
The value for Height
Returns:Returns the current ChartPaneBuilder<T> instance.
The margin of the pane. A numeric value will set all margins.
public ChartPaneBuilder<T> Margin(Action<ChartPaneMarginSettingsBuilder<T>> configurator)
The ChartPaneMarginSettingsBuilder<T> for the margin setting.
Returns:Returns the current instance of ChartPaneBuilder<T> .
The unique name of the chart pane.
public ChartPaneBuilder<T> Name(string value)
The value for Name
Returns:Returns the current ChartPaneBuilder<T> instance.
The padding of the pane. A numeric value will set all paddings.
public ChartPaneBuilder<T> Padding(Action<ChartPanePaddingSettingsBuilder<T>> configurator)
The ChartPanePaddingSettingsBuilder<T> for the padding setting.
Returns:Returns the current instance of ChartPaneBuilder<T> .
The title configuration of the chart pane.
public ChartPaneBuilder<T> Title(Action<ChartPaneTitleSettingsBuilder<T>> configurator)
The ChartPaneTitleSettingsBuilder<T> for the title setting.
Returns:Returns the current instance of ChartPaneBuilder<T> .
The title configuration of the chart pane.
public ChartPaneBuilder<T> Title(string value)
The title text.
Returns:Returns the current instance of ChartPaneBuilder<T> .