Skip to main content

StripBase.AxisLabel Property

Gets or sets the axis label the strip displays on the axis to which the strip belongs. This is a bindable property.

Namespace: DevExpress.Maui.Charts

Assembly: DevExpress.Maui.Charts.dll

NuGet Package: DevExpress.Maui.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 configures 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. This is a bindable property.

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. This is a bindable property.

DateTimeStrip.MaxLimit

Gets or sets the maximum limiting value of the strip along an axis. This is a bindable property.

StripBase.AxisLabel

Gets or sets the axis label the strip displays on the axis to which the strip belongs. This is a bindable property.

StripBase.Style

Gets or sets appearance settings of the strip. This is a bindable property.

See Also