Skip to main content

ChartCrosshairHorizontalLineLabelBuilder Methods

Provides methods that allow you to configure nested options of the client-side label object.
Name Description
BackgroundColor(JS) Paints the background of the label that belongs to the horizontal crosshair line. Mirrors the client-side backgroundColor option.
BackgroundColor(String) Paints the background of the label that belongs to the horizontal crosshair line. Mirrors the client-side backgroundColor option.
CustomizeText(RazorBlock) Customizes the text displayed by the label that belongs to the horizontal crosshair line. Mirrors the client-side customizeText option.
CustomizeText(String) Customizes the text displayed by the label that belongs to the horizontal crosshair line. 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 label of the horizontal crosshair line. Mirrors the client-side font object.
Format(Format) Formats a point value before it is displayed in the crosshair label. Mirrors the client-side format option.
Format(JS) Formats a point value before it is displayed in the crosshair label. Mirrors the client-side format option.
Format(Action<FormatBuilder>) Formats a point value before it is displayed in the crosshair label. Mirrors the client-side format object.
Format(String) Formats a point value 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 label of the horizontal crosshair line visible. Applies only if the crosshair feature is enabled and the horizontal line is visible. Mirrors the client-side visible option.
Visible(Boolean) Makes the label of the horizontal crosshair line visible. Applies only if the crosshair feature is enabled and the horizontal line is visible. Mirrors the client-side visible option.
See Also