Skip to main content

LinearGaugeScaleLabelBuilder Members

Provides methods that allow you to configure nested options of the client-side label object.

Constructors

Name Description
LinearGaugeScaleLabelBuilder(OptionsOwnerContext) For internal use only. Initializes a new LinearGaugeScaleLabelBuilder class instance.

Methods

Name Description
CustomizeText(RazorBlock) Specifies a callback function that returns the text to be displayed in scale labels. Mirrors the client-side customizeText option.
CustomizeText(String) Specifies a callback function that returns the text to be displayed in scale labels. Mirrors the client-side customizeText option.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Font(Action<VizFontBuilder>) Specifies font properties for the text displayed in the scale labels of the gauge. Mirrors the client-side font object.
Format(Format) Formats a value before it is displayed in a scale label. Accepts only numeric formats. Mirrors the client-side format option.
Format(JS) Formats a value before it is displayed in a scale label. Accepts only numeric formats. Mirrors the client-side format option.
Format(Action<FormatBuilder>) Formats a value before it is displayed in a scale label. Accepts only numeric formats. Mirrors the client-side format object.
Format(String) Formats a value before it is displayed in a scale label. Accepts only numeric formats. Mirrors the client-side format option.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
IndentFromTick(JS) Specifies the spacing between scale labels and ticks. Mirrors the client-side indentFromTick option.
IndentFromTick(Double) Specifies the spacing between scale labels and ticks. Mirrors the client-side indentFromTick option.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Option(String, Object) Specifies an option by its name.
OverlappingBehavior(ScaleLabelOverlappingBehavior) Decides how to arrange scale labels when there is not enough space to keep all of them. Mirrors the client-side overlappingBehavior option.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
UseRangeColors(JS) Specifies whether or not scale labels should be colored similarly to their corresponding ranges in the range container. Mirrors the client-side useRangeColors option.
UseRangeColors(Boolean) Specifies whether or not scale labels should be colored similarly to their corresponding ranges in the range container. Mirrors the client-side useRangeColors option.
Visible(JS) Specifies whether or not scale labels are visible on the gauge. Mirrors the client-side visible option.
Visible(Boolean) Specifies whether or not scale labels are visible on the gauge. Mirrors the client-side visible option.
See Also