Defines the fluent interface for configuring scale.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TScale
TScaleBuilder
The type of the series builder.
Syntax:
public abstract class GaugeScaleBuilderBase<TScale, TScaleBuilder> where TScale : IGaugeScale where TScaleBuilder : GaugeScaleBuilderBase<TScale, TScaleBuilder>
Inheritance: objectGaugeScaleBuilderBase<TScale, TScaleBuilder>
Derived Classes:
Inherited Members
Constructors
Initializes a new instance of the GaugeScaleBuilderBase<TScale, TScaleBuilder> class.
protected GaugeScaleBuilderBase(TScale scale)
The scale.
Properties
Scale
TScale
Gets or sets the scale.
public TScale Scale { get; }
The scale.
Methods
Configures the major ticks.
public TScaleBuilder Line(Action<GaugeLineBuilder> configurator)
The configuration action.
Returns:TScaleBuilder
Configures the major ticks.
public TScaleBuilder MajorTicks(Action<GaugeScaleTicksBuilder> configurator)
The configuration action.
Returns:TScaleBuilder
Sets the scale major unit.
public TScaleBuilder MajorUnit(double majorUnit)
The major unit.
Returns:TScaleBuilder
Sets the scale max value.
Sets the scale min value.
Configures the minor ticks.
public TScaleBuilder MinorTicks(Action<GaugeScaleTicksBuilder> configurator)
The configuration action.
Returns:TScaleBuilder
Sets the scale minor unit.
public TScaleBuilder MinorUnit(double minorUnit)
The minor unit.
Returns:TScaleBuilder
Defines the ranges items.
public TScaleBuilder Ranges(Action<GaugeScaleRangesFactory<TScale>> configurator)
The add action.
Returns:TScaleBuilder
Sets the scale reverse.
public TScaleBuilder Reverse(bool reverse)
The scale reverse.
Returns:TScaleBuilder