Kendo.Mvc.UI.Fluent.LinearGaugePointerBuilder

Defines the fluent API for configuring LinearGaugePointer

Methods

Border(System.Action<Kendo.Mvc.UI.Fluent.LinearGaugePointerBorderSettingsBuilder>)

The border of the pointer.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.LinearGaugePointerBorderSettingsBuilder>

The configurator for the border setting.

Border(System.Int32,System.String,Kendo.Mvc.UI.ChartDashType)

Sets the pointer border

Parameters

width System.Int32

The pointer border width.

color System.String

The pointer border color.

dashType Kendo.Mvc.UI.ChartDashType

The pointer dash type.

Example (ASPX)

<% Html.Kendo().LinearGauge()
    .Name("linearGauge")
    .Pointer(pointer => pointer
        .Border(1, "#000", ChartDashType.Dot)
    )
    .Render();
%>

Color(System.String)

The color of the pointer.

Parameters

value System.String

The value for Color

Margin(System.Double)

The margin of the pointer.

Parameters

value System.Double

The value for Margin

Margin(System.Double,System.Double,System.Double,System.Double)

Sets the pointer margin.

Parameters

top System.Double

The pointer top margin.

right System.Double

The pointer right margin.

bottom System.Double

The pointer bottom margin.

left System.Double

The pointer left margin.

Example (ASPX)

<% Html.Kendo().LinearGauge()
    .Name("linearGauge")
    .Pointer(pointer => pointer
        .Margin(20, 20, 20, 20)
    )
    .Render();
%>

Opacity(System.Double)

The opacity of the pointer. Any valid CSS color string will work here, including hex and rgb.

Parameters

value System.Double

The value for Opacity

Shape(Kendo.Mvc.UI.GaugeLinearPointerShape)

The shape of the pointer.

Parameters

value Kendo.Mvc.UI.GaugeLinearPointerShape

The value for Shape

Size(System.Double)

The size of the pointer.

Parameters

value System.Double

The value for Size

Track(System.Action<Kendo.Mvc.UI.Fluent.LinearGaugePointerTrackSettingsBuilder>)

The element arround/under the pointer. (available only for 'barIndicator' shape)

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.LinearGaugePointerTrackSettingsBuilder>

The configurator for the track setting.

Value(System.Double)

The value of the gauge.

Parameters

value System.Double

The value for Value