mobilecontrols-devexpress-dot-xamarinforms-dot-charts-50cd60ed.md
Stores range area series label settings.
Namespace : DevExpress.XamarinForms.Charts
Assembly : DevExpress.XamarinForms.Charts.dll
NuGet Package : DevExpress.XamarinForms.Charts
public class RangeAreaSeriesLabel :
SeriesLabel
The following members return RangeAreaSeriesLabel objects:
You can add labels to data point markers to show point values as text on a chart.
To enable labels for a range area series, set the RangeAreaSeries.Label property to the RangeAreaSeriesLabel object, and use this object’s properties to change the label’s 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 range area series’ labels:
Kind - Specifies the range area values (high, low, or both) labels should display.
Indent - Specifies how labels are positioned relative to points.
Style - Provides access to the SeriesLabelStyle object that stores label appearance settings (TextStyle).
Visible - Allows you to show or hide labels for the series.
HighValueAngle - Sets the position of high value labels relative to the markers.
LowValueAngle - Sets the position of low value labels relative to the markers.
<dxc:RangeAreaSeries>
<dxc:RangeAreaSeries.Label>
<dxc:RangeAreaSeriesLabel TextPattern="{}{V$0.#}"
Kind="TwoLabels"
HighValueAngle="270"
LowValueAngle="90"
Indent="15">
<dxc:RangeAreaSeriesLabel.Style>
<dxc:SeriesLabelStyle>
<dxc:SeriesLabelStyle.TextStyle>
<dxc:TextStyle Color="DarkBlue" Size="10"/>
</dxc:SeriesLabelStyle.TextStyle>
</dxc:SeriesLabelStyle>
</dxc:RangeAreaSeriesLabel.Style>
</dxc:RangeAreaSeriesLabel>
</dxc:RangeAreaSeries.Label>
</dxc:RangeAreaSeries>
Object ChartElement StyledElement SeriesLabel RangeAreaSeriesLabel
See Also