Skip to main content

Series.ToolTipPointPattern Property

Gets or sets a string pattern that formats the text displayed in series point tooltips.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v23.2.dll

NuGet Package: DevExpress.Wpf.Charts

Declaration

public string ToolTipPointPattern { get; set; }

Property Value

Type Description
String

A pattern for tooltip text.

Remarks

Patterns can comprise plain text and placeholders with format specifiers. For example, the “Value: {V:F1} ({A:MMM d})” string shows point values with a single decimal digit and formatted data in brackets.

Formatted tooltips

<dxc:LineSeries2D ToolTipPointPattern="Value: {V:F1} ({A:MMM d})" 
                  MarkerVisible="True">

The following list contains available placeholders:

Pattern Description
{S} Displays the series name.
Ensure the Series.DisplayName property (Series3D.DisplayName for the Chart3D Control) is specified.
{A} Displays a series point argument.
{V} Displays series point values.
{HINT} Displays the SeriesPoint.ToolTipHint property value.
Pie (Donut) series specific placeholders
{VP} Displays series point values as percentages.
{TV} Displays a total group value.
Stacked series specific placeholders
{VP} Displays series point values as percentages.
{G} Displays the name of a stacked group.
{TV} Displays a total group value.
Bubble series specific placeholders
{W} Displays the weight.
Range series specific placeholders
{V1} Displays the first value.
{V2} Displays the second value.
{VD} Displays the duration between the first and second data point values formatted with a common time format (e.g., HH:MM:SS for date time values and #.## for numeric values).
{VDTD} Displays the duration between the first and second date-time data point values in days.
{VDTH} Displays the duration between the first and second date-time data point values in hours.
{VDTM} Displays the duration between the first and second date-time data point values in minutes.
{VDTS} Displays the duration between the first and second date-time data point values in seconds.
{VDTMS} Displays the duration between the first and second date-time data point values in milliseconds.
Financial series specific placeholders
{OV} Displays the open value.
{HV} Displays the high value.
{LV} Displays the low value.
{CV} Displays the close value.
Waterfall series specific placeholders
{V} Displays a value change for a rising and falling bar in relation to the previous bar value.
{VABS} Displays an absolute point value.

In XAML, insert empty brackets into the beginning of a pattern if it starts with a placeholder. Refer to the following page for more information: {} Escape sequence / markup extension.

When the chart is bound to data, the text pattern can contain data field values. For example, if the data source contains the Discount field, you can add this field to the pattern as follows: {S}: {V:F2} (Discount: {Discount:P0}).

For more information about tooltips, refer to the following topic: Tooltip.

See Also