Indicator.CrosshairLabelPattern Property

Gets or sets the format string that specifies the text to be displayed in a Crosshair label for the current indicator.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v20.1.dll

Declaration

public string CrosshairLabelPattern { get; set; }
Public Property CrosshairLabelPattern As String

Property Value

Type Description
String

A String that defines a crosshair label pattern. The default value is Empty.

Remarks

The format string can contain placeholders with format specifiers and plain text.

The following image shows the RateOfChange indicator whose CrosshairLabelPattern property is defined to "ROC: Argument - {A:MMM dd}, Value - {V:F3}":

indicator-crosshair-label-pattern

The table below lists all the placeholders that you can use in the pattern:

Placeholder Description
{I} Displays an indicator name.
{A} Displays an indicator point's argument.
{V} Displays a single-line indicator or MACD indicator point's value.
{SV} Displays a MACD indicator signal line's point value.
{AV} Displays the MovingAverage indicator value.
{LV} Displays the MovingAverage indicator lower envelope line point's value.
{UV} Displays the Moving Average indicator upper envelope line point's value.
{T} Displays the Error Bar indicator point's top value.
{B} Displays the Error Bar indicator point's bottom value.

Implements

DevExpress.Charts.Native.IIndicator.CrosshairLabelPattern
See Also