Skip to main content

BarGaugeLabelBuilder Members

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

Constructors

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

Methods

Name Description
ConnectorColor(JS) Specifies a color for the label connector text. Mirrors the client-side connectorColor option.
ConnectorColor(String) Specifies a color for the label connector text. Mirrors the client-side connectorColor option.
ConnectorWidth(JS) Specifies the width of the label connector in pixels. Mirrors the client-side connectorWidth option.
ConnectorWidth(Double) Specifies the width of the label connector in pixels. Mirrors the client-side connectorWidth option.
CustomizeText(RazorBlock) Specifies a callback function that returns a text for labels. Mirrors the client-side customizeText option.
CustomizeText(String) Specifies a callback function that returns a text for 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 bar labels. Mirrors the client-side font object.
Format(Format) Formats a value before it is displayed in a label. Accepts only numeric formats. Mirrors the client-side format option.
Format(JS) Formats a value before it is displayed in a label. Accepts only numeric formats. Mirrors the client-side format option.
Format(Action<FormatBuilder>) Formats a value before it is displayed in a label. Accepts only numeric formats. Mirrors the client-side format object.
Format(String) Formats a value before it is displayed in a 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.
Indent(JS) Specifies the distance between the upper bar and bar labels in pixels. Mirrors the client-side indent option.
Indent(Double) Specifies the distance between the upper bar and bar labels in pixels. Mirrors the client-side indent option.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Option(String, Object) Specifies an option by its name.
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.
Visible(JS) Specifies whether bar labels appear on a gauge or not. Mirrors the client-side visible option.
Visible(Boolean) Specifies whether bar labels appear on a gauge or not. Mirrors the client-side visible option.
See Also