AxisTitle Class
Stores axis title settings.
Namespace: DevExpress.Maui.Charts
Assembly: DevExpress.Maui.Charts.dll
NuGet Package: DevExpress.Maui.Charts
Declaration
public class AxisTitle :
TitleBase
Related API Members
The following members return AxisTitle objects:
Remarks
The AxisTitle class properties define the common appearance settings of a particular axis’s title:
- Text - Specifies the axis title text.
- Style - Provides access to the title text appearance settings (text color and size).
- Visible - Allows you to show and hide the axis title.
- Alignment - Specifies the axis title alignment.
To create and configure a chart’s axis title, assign an AxisTitle object with the specified properties to the axis’s Title property.
Example
This example creates a y-axis’s title, align it and customize its appearance.
<dxc:ChartView.AxisY>
<dxc:NumericAxisY>
<dxc:NumericAxisY.Title>
<dxc:AxisTitle Text="$/gallon"
Alignment="Outside">
<dxc:AxisTitle.Style>
<dxc:TitleStyle>
<dxc:TitleStyle.TextStyle>
<dxc:TextStyle Color="DarkRed" Size="24"/>
</dxc:TitleStyle.TextStyle>
</dxc:TitleStyle>
</dxc:AxisTitle.Style>
</dxc:AxisTitle>
</dxc:NumericAxisY.Title>
</dxc:NumericAxisY>
</dxc:ChartView.AxisY>
Inheritance
Object
BindableObject
Element
DevExpress.Maui.Core.Internal.DXElementBaseCore
ChartElement
StyledElement
TitleBase
AxisTitle
See Also