Back to Devexpress

DxChartSubTitle.Text Property

blazor-devexpress-dot-blazor-dot-dxchartsubtitle-19ca7a9b.md

latest1.4 KB
Original Source

DxChartSubTitle.Text Property

Specifies subtitle text.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

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

Property Value

TypeDescription
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.

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

Online Demo

Run Demo: Charts - Legend Customization

See Also

DxChartSubTitle Class

DxChartSubTitle Members

DevExpress.Blazor Namespace