Skip to main content

TitleBase.Text Property

Gets or sets the text the title displays.

Namespace: DevExpress.XamarinForms.Charts

Assembly: DevExpress.XamarinForms.Charts.dll

NuGet Package: DevExpress.XamarinForms.Charts

Declaration

public string Text { get; set; }

Property Value

Type Description
String

The text the title displays.

Example

This example demonstrates how to create a y-axis’s title, align it and customize its appearance.

Axis Style

<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>
See Also