ChartPaneBuilder

Methods

Title(System.String)

The title configuration of the chart pane.

Parameters

value - System.String

The title text.

Example

Razor
 
            @(Html.Kendo().Chart()
                    .Name("chart")
                    .Panes(p => 
                    {
                        p.Add().Title("title");
                    })
            )
             

Background(System.String)

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

Parameters

value - System.String

The value for Background

Border(System.Action)

The border of the chart pane.

Parameters

configurator - System.Action<ChartPaneBorderSettingsBuilder>

The configurator for the border setting.

Clip(System.Boolean)

Specifies whether the charts in the pane should be clipped. By default all charts except radar, polar and 100% stacked charts are clipped.

Parameters

value - System.Boolean

The value for Clip

Height(System.Double)

The chart pane height in pixels.

Parameters

value - System.Double

The value for Height

Margin(System.Action)

The margin of the pane. A numeric value will set all margins.

Parameters

configurator - System.Action<ChartPaneMarginSettingsBuilder>

The configurator for the margin setting.

Name(System.String)

The unique name of the chart pane.

Parameters

value - System.String

The value for Name

Padding(System.Action)

The padding of the pane. A numeric value will set all paddings.

Parameters

configurator - System.Action<ChartPanePaddingSettingsBuilder>

The configurator for the padding setting.

Title(System.Action)

The title configuration of the chart pane.

Parameters

configurator - System.Action<ChartPaneTitleSettingsBuilder>

The configurator for the title setting.