Skip to main content

ChartCrosshairLabelBuilder Members

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

Constructors

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

Methods

Name Description
BackgroundColor(JS) Paints the background of the crosshair labels. Mirrors the client-side backgroundColor option.
BackgroundColor(String) Paints the background of the crosshair labels. Mirrors the client-side backgroundColor option.
CustomizeText(RazorBlock) Customizes the text displayed by the crosshair labels. Mirrors the client-side customizeText option.
CustomizeText(String) Customizes the text displayed by the crosshair 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 crosshair labels. Mirrors the client-side font object.
Format(Format) Formats a point value/argument before it is displayed in the crosshair label. Mirrors the client-side format option.
Format(JS) Formats a point value/argument before it is displayed in the crosshair label. Mirrors the client-side format option.
Format(Action<FormatBuilder>) Formats a point value/argument before it is displayed in the crosshair label. Mirrors the client-side format object.
Format(String) Formats a point value/argument before it is displayed in the crosshair label. 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.
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) Makes the crosshair labels visible. Applies only if the crosshair feature is enabled. Mirrors the client-side visible option.
Visible(Boolean) Makes the crosshair labels visible. Applies only if the crosshair feature is enabled. Mirrors the client-side visible option.
See Also