SeriesLabelOptions.Pattern Property
Gets or sets a string which represents the pattern specifying the text to be displayed within data point labels.
Namespace: DevExpress.UI.Xaml.Charts
Assembly: DevExpress.UI.Xaml.Charts.v21.2.dll
NuGet Package: DevExpress.Uwp.Controls
Declaration
Property Value
Type | Description |
---|---|
String | A String, which represents the pattern. The default value is Empty. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to Pattern |
---|---|
SeriesView |
|
SeriesView |
|
Remarks
Use the Pattern property to define a pattern for displaying text by data point labels. Various placeholders enclosed in braces correspond to the available display patterns. For example, a pair of placeholders specified together (e.g., {A} - {V}), will cause each data point to be represented by both its argument and value, separated by a hyphen.
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, Funnel, Nested Donut series and Full-Stacked series). |
{S} | Displays the name of the series. |
{G} | Displays the name of a stacked group. |
You can also use standard and custom format specifiers, together with the placeholders to format numeric and date/time values (e.g., {V:F1}).