A newer version of this page is available. Switch to the current version.

Indicator.CrosshairLabelPattern Property

Gets or sets the pattern to format the text that the Crosshair Cursor shows for the specified indicator's point.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v18.2.dll

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
[XtraSerializableProperty]
public string CrosshairLabelPattern { get; set; }
<XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)>
<XtraSerializableProperty>
Public Property CrosshairLabelPattern As String

Property Value

Type Description
String

The format string.

Remarks

The pattern can contain plain text, special placeholders and format specifiers. In the following image, the {A:MMMM dd}, {V:F3} pattern is applied to CrosshairLabelPattern, where the {A} and {V} are placeholders.

indicator-crosshair-label-pattern

The following list contains all the available placeholders:

Placeholder Description
{I} The indicator name.
{S} The series name to which the indicator belongs.
{A} The indicator point's argument.
{V} The indicator point's value.
{AV} The Moving Average indicator's average line value. The MovingAverage.Kind property value should be MovingAverage or MovingAverageAndEnvelope.
{UV} The Moving Average upper envelope line's value. The MovingAverage.Kind property value should be Envelope or MovingAverageAndEnvelope.
{LV} The Moving Average lower envelope line's value. The MovingAverage.Kind property value should be Envelope or MovingAverageAndEnvelope.
{T} The Error Bar's top value.
{B} The Error Bar's bottom value.
{SV} The MovingAverageConvergenceDivergence indicator's signal line point value.

Refer to the Crosshair Cursor document for more information on how to customize the Crosshair Cursor's behavior and appearance.

Implements

DevExpress.Charts.Native.IIndicator.CrosshairLabelPattern
See Also