PointOptions.Pattern Property
Gets or sets a string which represents the pattern specifying the text to be displayed within series labels and legend items.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v21.2.dll
Declaration
Property Value
Type | Description |
---|---|
String | A String, which represents the pattern. The default value is Empty. |
Remarks
The PointOptions.Pattern property is now obsolete. Use the AxisLabel.TextPattern, SeriesLabel.TextPattern, and Series.LegendTextPattern properties instead.
Use the Pattern property to define a pattern for displaying text by series labels or the legend. 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.
The available placeholders are detailed below.
Pattern | Description |
---|---|
{A} | Use it to display a series point arguments. |
{V} | Use it to display a series point values. |
{S} | Use it to display the name of the series. |
In addition to the Pattern property, you can specify the text to be displayed in a simpler way with the PointOptions.PointView property. Note that if both properties are set to non-default values, the Pattern property has a higher priority than the PointOptions.PointView property.