Defines the fluent API for configuring CircularGaugeScaleSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class CircularGaugeScaleSettingsBuilder
Inheritance: objectCircularGaugeScaleSettingsBuilder
Inherited Members
Constructors
CircularGaugeScaleSettingsBuilder method.
public CircularGaugeScaleSettingsBuilder(CircularGaugeScaleSettings container)
Properties
Gets the settings being configured.
protected CircularGaugeScaleSettings Container { get; }
Methods
Configures the scale labels.
public CircularGaugeScaleSettingsBuilder Labels(Action<CircularGaugeScaleLabelsSettingsBuilder> configurator)
The CircularGaugeScaleLabelsSettingsBuilder for the labels setting.
Returns:CircularGaugeScaleSettingsBuilder
Returns the current instance of CircularGaugeScaleSettingsBuilder .
Configures the scale major ticks.
public CircularGaugeScaleSettingsBuilder MajorTicks(Action<CircularGaugeScaleMajorTicksSettingsBuilder> configurator)
The CircularGaugeScaleMajorTicksSettingsBuilder for the majorticks setting.
Returns:CircularGaugeScaleSettingsBuilder
Returns the current instance of CircularGaugeScaleSettingsBuilder .
The interval between major divisions.
public CircularGaugeScaleSettingsBuilder MajorUnit(double value)
The value for MajorUnit
Returns:CircularGaugeScaleSettingsBuilder
Returns the current CircularGaugeScaleSettingsBuilder instance.
The maximum value of the scale.
public CircularGaugeScaleSettingsBuilder Max(double value)
The value for Max
Returns:CircularGaugeScaleSettingsBuilder
Returns the current CircularGaugeScaleSettingsBuilder instance.
The minimum value of the scale.
public CircularGaugeScaleSettingsBuilder Min(double value)
The value for Min
Returns:CircularGaugeScaleSettingsBuilder
Returns the current CircularGaugeScaleSettingsBuilder instance.
Configures the scale minor ticks.
public CircularGaugeScaleSettingsBuilder MinorTicks(Action<CircularGaugeScaleMinorTicksSettingsBuilder> configurator)
The CircularGaugeScaleMinorTicksSettingsBuilder for the minorticks setting.
Returns:CircularGaugeScaleSettingsBuilder
Returns the current instance of CircularGaugeScaleSettingsBuilder .
The interval between minor divisions.
public CircularGaugeScaleSettingsBuilder MinorUnit(double value)
The value for MinorUnit
Returns:CircularGaugeScaleSettingsBuilder
Returns the current CircularGaugeScaleSettingsBuilder instance.
The distance from the range indicators to the ticks.
public CircularGaugeScaleSettingsBuilder RangeDistance(double value)
The value for RangeDistance
Returns:CircularGaugeScaleSettingsBuilder
Returns the current CircularGaugeScaleSettingsBuilder instance.
The default color for the ranges.
public CircularGaugeScaleSettingsBuilder RangePlaceholderColor(string value)
The value for RangePlaceholderColor
Returns:CircularGaugeScaleSettingsBuilder
Returns the current CircularGaugeScaleSettingsBuilder instance.
The width of the range indicators.
public CircularGaugeScaleSettingsBuilder RangeSize(double value)
The value for RangeSize
Returns:CircularGaugeScaleSettingsBuilder
Returns the current CircularGaugeScaleSettingsBuilder instance.
Reverses the scale direction - values are increase anticlockwise.
public CircularGaugeScaleSettingsBuilder Reverse()
CircularGaugeScaleSettingsBuilder
Returns the current CircularGaugeScaleSettingsBuilder instance.
Reverses the scale direction - values are increase anticlockwise.
public CircularGaugeScaleSettingsBuilder Reverse(bool value)
The value for Reverse
Returns:CircularGaugeScaleSettingsBuilder
Returns the current CircularGaugeScaleSettingsBuilder instance.
The start angle of the gauge. The gauge is rendered clockwise(0 degrees are the 180 degrees in the polar coordinate system)
public CircularGaugeScaleSettingsBuilder StartAngle(double value)
The value for StartAngle
Returns:CircularGaugeScaleSettingsBuilder
Returns the current CircularGaugeScaleSettingsBuilder instance.