Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ChartCrosshairLabelBuilder Methods
Show Inherited Hide Inherited

Provides methods that allow you to configure nested options of the client-side label object.
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