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

Defines the fluent interface for configuring ChartAreaLineBuilder.

Definition

Constructors

Initializes a new instance of the ChartAreaLineBuilder class.

C#
public ChartAreaLineBuilder(ChartAreaLine chartLine)
Parameters:chartLineChartAreaLine

The chart line.

Methods

Sets the opacity of the line for Area series. By default, the line is opaque.

C#
public ChartAreaLineBuilder Opacity(double opacity)
Parameters:opacitydouble

The value that configures the opacity.

Returns:

ChartAreaLineBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Series(series => series
.Area(s => s.Sales)
.Line(line => line.Opacity(0.2))
)
)

Configures the line style for Area series.

C#
public ChartAreaLineBuilder Style(ChartAreaStyle style)
Parameters:styleChartAreaStyle

The enum value that configures the line style.

Returns:

ChartAreaLineBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Series(series => series
.Area(s => s.Sales)
.Line(line => line.Style(ChartAreaStyle.Step))
)
)