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

Defines the fluent interface for configuring ChartLine.

Definition

Constructors

Initializes a new instance of the ChartLineBuilder class.

C#
public ChartLineBuilder(ChartLine chartLine)
Parameters:chartLineChartLine

The chart line.

Methods

Sets the line visibility

C#
public ChartLineBuilder Visible(bool visible)
Parameters:visiblebool

The line visibility.

Returns:

ChartLineBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.CategoryAxis(axis => axis.MajorGridLines(lines => lines.Visible(true)))
)