Skip to main content
A newer version of this page is available. .

Series3DBase.CrosshairLabelPattern Property

Gets or sets the text pattern specifying the text of the series crosshair label.

Namespace: DevExpress.Xpf.Charts

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

Declaration

public string CrosshairLabelPattern { get; set; }

Property Value

Type Description
String

The crosshair label text pattern.

Remarks

You can use the plain text, placeholders and format specifiers to configure label text.

For example, use the “X-Argument: {X:F3}” format string to show a data point’s x-argument with three numbers after the comma. In this string, the {X} placeholder is used.

The following table lists all the available placeholders:

Placeholder

Description

{S}

Displays the series name.

{X}, {A}

Displays the data point’s x-argument.

{Y}

Displays the data point’s y-argument.

{Z}, {V}

Displays the data point’s z-value.

{HINT}

Displays a hint. Use the Series3DDataSourceAdapter.HintDataMember or

SeriesPoint3DDataSourceAdapter.HintDataMember property to specify a hint data member.

The Bubble3DSeriesView specific placeholders

{W}

Displays the data point’s weight.

The RangeColorizer3D specific placeholders

{V1}

Displays the color range’s first value in the legend.

{V2}

Displays the color range’s second value in the legend.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CrosshairLabelPattern property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also