PlotAreaBuilder
Class
Defines the fluent interface for configuring the PlotArea.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class PlotAreaBuilder
Inheritance: objectPlotAreaBuilder
Inherited Members
Constructors
Initializes a new instance of the PlotAreaBuilder class.
Methods
Sets the Plot area background color
C#
public PlotAreaBuilder Background(string background)
The background color.
Returns:Configures the plot area border
C#
public PlotAreaBuilder Border(Action<ChartBorderBuilder> configurator)
The border configuration action
Returns:Sets the Plot area border
C#
public PlotAreaBuilder Border(int width, string color, ChartDashType dashType)
The border width.
colorstringThe border color (CSS syntax).
dashTypeChartDashTypeThe border dash type.
Returns:Sets the Plot area margin
Sets the plot area opacity.
C#
public PlotAreaBuilder Opacity(double opacity)
The plot area opacity in the range from 0 (transparent) to 1 (opaque). The default value is 1.
Returns: