ChartAreaBuilder
Defines the fluent interface for configuring the ChartArea.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ChartAreaBuilder
Inheritance: objectChartAreaBuilder
Inherited Members
Constructors
Initializes a new instance of the ChartAreaBuilder class.
Methods
Sets the background color of the Chart area. The option accepts a valid CSS color string, including HEX and RGB.
public ChartAreaBuilder Background(string background)
The value that configures the background color.
Returns:Configures the border settings of the Chart area.
public ChartAreaBuilder Border(Action<ChartBorderBuilder> configurator)
The action that configures the border options.
Returns:Sets the border of the Chart area.
public ChartAreaBuilder Border(int width, string color, ChartDashType dashType)
The border width in pixels.
colorstringThe border color (CSS syntax).
dashTypeChartDashTypeThe border dash type.
Returns:Sets the height of the Chart area. The default height is 400px.
public ChartAreaBuilder Height(int height)
The value that configures the height.
Returns:Sets the margin of the Chart area.
Sets the margin of the Chart area. The specified value will be applied to all margins.
public ChartAreaBuilder Margin(int margin)
The value that configures the margins.
Returns:Sets the width of the Chart area. The default width is 600px.
public ChartAreaBuilder Width(int width)
The value that configures the width.
Returns: