Defines the fluent API for configuring LinearGaugePointer
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class LinearGaugePointerBuilder
Inheritance: objectLinearGaugePointerBuilder
Inherited Members
Constructors
LinearGaugePointerBuilder method.
public LinearGaugePointerBuilder(LinearGaugePointer container)
Properties
Gets the settings being configured.
protected LinearGaugePointer Container { get; }
Methods
The border of the pointer.
public LinearGaugePointerBuilder Border(Action<LinearGaugePointerBorderSettingsBuilder> configurator)
The configurator for the border setting.
Returns:Returns the current LinearGaugePointerBuilder instance.
Sets the pointer border
public LinearGaugePointerBuilder Border(int width, string color, ChartDashType dashType)
The pointer border width.
colorstringThe pointer border color.
dashTypeChartDashTypeThe pointer dash type.
Returns:Returns the current LinearGaugePointerBuilder instance.
The color of the pointer.
public LinearGaugePointerBuilder Color(string value)
The value for Color
Returns:Returns the current LinearGaugePointerBuilder instance.
Sets the pointer margin.
public LinearGaugePointerBuilder Margin(double top, double right, double bottom, double left)
The pointer top margin.
rightdoubleThe pointer right margin.
bottomdoubleThe pointer bottom margin.
leftdoubleThe pointer left margin.
Returns:Returns the current LinearGaugePointerBuilder instance.
The margin of the pointer.
public LinearGaugePointerBuilder Margin(double value)
The value for Margin
Returns:Returns the current LinearGaugePointerBuilder instance.
The opacity of the pointer. Any valid CSS color string will work here, including hex and rgb.
public LinearGaugePointerBuilder Opacity(double value)
The value for Opacity
Returns:Returns the current LinearGaugePointerBuilder instance.
The shape of the pointer.
public LinearGaugePointerBuilder Shape(GaugeLinearPointerShape value)
The value for Shape
Returns:Returns the current LinearGaugePointerBuilder instance.
The size of the pointer.
public LinearGaugePointerBuilder Size(double value)
The value for Size
Returns:Returns the current LinearGaugePointerBuilder instance.
The element arround/under the pointer. (available only for 'barIndicator' shape)
public LinearGaugePointerBuilder Track(Action<LinearGaugePointerTrackSettingsBuilder> configurator)
The configurator for the track setting.
Returns:Returns the current LinearGaugePointerBuilder instance.
The value of the gauge.
public LinearGaugePointerBuilder Value(double value)
The value for Value
Returns:Returns the current LinearGaugePointerBuilder instance.