Skip to main content

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:

Date-Time Strip

<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

DateTimeAxisX.Strips

Gets the collection of strips that the axis contains.

DateTimeStrip

The highlighted area limited by two fixed values (minimal and maximal limits) of an axis, and is perpendicular to the axis.

DateTimeStrip.MaxLimit

Gets or sets the maximum limiting value of the strip along an axis.

DateTimeStrip.MaxLimit

Gets or sets the maximum limiting value of the strip along an axis.

StripBase.AxisLabel

Gets or sets the axis label the strip displays on the axis to which the strip belongs.

StripBase.Style

Gets or sets appearance settings of the strip.

See Also