DxChartSubTitle Class

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.dll

Declaration

public class DxChartSubTitle :
    DxSettingsComponent<ChartSubTitleModel>

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="Legend">
            <DxChartSubtitle Text="(custom)"></DxChartSubtitle>
        </DxChartTitle>
    </DxChartLegend>
</DxChart>

Online Demo

Charts - Legend Customization

See Also