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 GaugeLineBuilder class.

C#
public GaugeLineBuilder(ChartLine gaugeLine)
Parameters:gaugeLineChartLine

The chart line.

Methods

Sets the line visibility

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

The line visibility.

Returns:

GaugeLineBuilder

Example:
C#
@( Html.Kendo().LinearGauge()
.Name("linearGauge")
.Scale(scale => scale.Line(line => line.Color("#f00")))
.Render();
)