Skip to main content

DxChartSubTitle.Text Property

Specifies the text of the subtitle.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.2.dll

NuGet Package: DevExpress.Blazor

Declaration

[Parameter]
public string Text { get; set; }

Property Value

Type Description
String

The subtitle text.

Remarks

You can specify a title (DxChartTitle) and subtitle (DxChartSubTitle) for a chart. Use the Text property to specify the subtitle’s display text.

<DxChart Data="@SalesData">
    <DxChartTitle Text="Sales amount" />
    ...
    <DxChartLegend ...>
        <DxChartTitle Text="Years">
            <DxChartSubTitle Text="(2017-2019)"></DxChartSubTitle>
        </DxChartTitle>
    </DxChartLegend>
</DxChart>

Chart Titles and Subtitles

Online Demo

Run Demo: Charts - Legend Customization

See Also