Series.ToolTipPointPattern Property
Gets or sets a string which represents the pattern specifying the text to be displayed within a tooltip that appears for a series point.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v20.2.dll
NuGet Packages: DevExpress.WindowsDesktop.Wpf.Charts, DevExpress.Wpf.Charts
Declaration
Property Value
Type | Description |
---|---|
String | A String value, which represents the tooltip pattern. |
Remarks
A full list of available placeholders is detailed below.
Pattern | Description |
---|---|
{A} | Displays a series point argument. |
{V} | Displays series point values. |
{VP} | Displays series point values as percentages (for a Pie and Donut series, Nested Donut and Full-Stacked series). |
{S} | Displays the name of the series. |
{G} | Displays the name of a stacked group. |
{W} | Displays the weight (for a Bubble series). |
{V1} | Displays the first value (for a Range Area series). |
{V2} | Displays the second value (for a Range Area series). |
{VD} | Displays the duration between the first and second data point values (for a Range Area series). |
{HV} | Displays the high value (for a Financial Series series). |
{LV} | Displays the low value (for a Financial Series series). |
{OV} | Displays the open value (for a Financial Series series). |
{CV} | Displays the close value (for a Financial Series series). |
You can also use standard and custom format specifics, together with the placeholders to format numeric and date/time values (e.g., {V:F0}). To learn more, see the Format Specifiers topic.
The following image shows this property in action with the {S} {V:F2} : {A} pattern.
Before specifying the {S} placeholder for a tooltip, make sure a series name is specified in the Series.DisplayName property.
For more information on a tooltip, see the Tooltip topic.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the ToolTipPointPattern 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.