StripBase.AxisLabel Property
Gets or sets the axis label the strip displays on the axis to which the strip belongs.
Namespace: DevExpress.XamarinForms.Charts
Assembly: DevExpress.XamarinForms.Charts.dll
NuGet Package: DevExpress.XamarinForms.Charts
Declaration
public StripAxisLabel AxisLabel { get; set; }
Property Value
Type | Description |
---|---|
StripAxisLabel | The axis label the strip displays on the axis to which the strip belongs. |
Example
This example demonstrates how to configure a date-time strip to highlight a straight area on a chart:
<dxc:DateTimeAxisX>
<dxc:DateTimeAxisX.Strips>
<dxc:DateTimeStrip MinLimit="{Binding ArgumentStripMinValue}"
MaxLimit="{Binding ArgumentStripMaxValue}">
<dxc:DateTimeStrip.AxisLabel>
<dxc:StripAxisLabel Text="Last Month"/>
</dxc:DateTimeStrip.AxisLabel>
<dxc:DateTimeStrip.Style>
<dxc:StripStyle Fill="#80f44336"/>
</dxc:DateTimeStrip.Style>
</dxc:DateTimeStrip>
</dxc:DateTimeAxisX.Strips>
</dxc:DateTimeAxisX>
The code above uses the following classes and members:
Symbol | Description |
---|---|
Gets the collection of strips that the axis contains. | |
The highlighted area limited by two fixed values (minimal and maximal limits) of an axis, and is perpendicular to the axis. | |
Gets or sets the maximum limiting value of the strip along an axis. | |
Gets or sets the maximum limiting value of the strip along an axis. | |
| Gets or sets the axis label the strip displays on the axis to which the strip belongs. |
Gets or sets appearance settings of the strip. |