maui-devexpress-dot-maui-dot-charts-dot-pointseries.md
Gets or sets the series label settings. This is a bindable property.
Namespace : DevExpress.Maui.Charts
Assembly : DevExpress.Maui.Charts.dll
NuGet Package : DevExpress.Maui.Charts
public MarkerSeriesLabel Label { get; set; }
| Type | Description |
|---|---|
| MarkerSeriesLabel |
An object that stores the series label settings.
|
You can accompany series’ data points with labels to show point values as text on a chart:
To enable series labels, set the PointSeries.Label property to the MarkerSeriesLabel object, and use this object’s properties to adjust the label settings:
TextPattern - Formats series label text.
A pattern includes regular text (which is displayed as is) and placeholder strings enclosed in braces. Placeholders define which values are shown in labels. You can use the following placeholders to specify the text pattern for point series’ labels:
Angle, Indent - Specify how a label is positioned relative to a series point.
Style - Provides access to the SeriesLabelStyle object that stores label appearance settings (TextStyle).
Visible - Allows you to show or hide labels for the series.
<dxc:PointSeries>
<dxc:PointSeries.Label>
<dxc:MarkerSeriesLabel TextPattern="{}{V$#}°C"
Angle="-60"
Indent="12">
<dxc:MarkerSeriesLabel.Style>
<dxc:SeriesLabelStyle>
<dxc:SeriesLabelStyle.TextStyle>
<dxc:TextStyle Color="DarkBlue" Size="8"/>
</dxc:SeriesLabelStyle.TextStyle>
</dxc:SeriesLabelStyle>
</dxc:MarkerSeriesLabel.Style>
</dxc:MarkerSeriesLabel>
</dxc:PointSeries.Label>
</dxc:PointSeries>
See Also