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

LinearGaugePointerBorderSettingsBuilder

Methods

Color(System.String)

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

Parameters

value - System.String

The value for Color

Example


            @( Html.Kendo().LinearGauge()
                .Name("gauge")
                .Pointers(pointer =>
                {
                    pointer.Add().Value(10).Border(b => b.Color("green"));
                })
            )

DashType(Kendo.Mvc.UI.ChartDashType)

The dash type of the border.

Parameters

value - ChartDashType

The value for DashType

Example


            @( Html.Kendo().LinearGauge()
                .Name("gauge")
                .Pointers(pointer =>
                {
                    pointer.Add().Value(10).Border(b => b.DashType(ChartDashType.Solid));
                })
            )

Width(System.Double)

The width of the border.

Parameters

value - System.Double

The value for Width

Example


            @( Html.Kendo().LinearGauge()
                .Name("gauge")
                .Pointers(pointer =>
                {
                    pointer.Add().Value(10).Border(b => b.Width(20));
                })
            )

Opacity(System.Double)

The opacity of the border.

Parameters

value - System.Double

The value for Opacity

Example


            @( Html.Kendo().LinearGauge()
                .Name("gauge")
                .Pointers(pointer =>
                {
                    pointer.Add().Value(10).Border(b => b.Opacity(10));
                })
            )

In this article
Not finding the help you need?