Skip to main content

DxChartTitle Class

Contains settings for the chart title.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.2.dll

Declaration

public class DxChartTitle :
    DxComplexSettingsComponent<DxChartTitle, ChartTitleModel>,
    IModelProvider<ChartSubTitleModel>

Remarks

The DxChartTitle is a component that displays a short caption for the Chart. You can put the DxChartTitle inside the DxChart directly or DxChartLegend.

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

Chart Titles and Subtitles

Inheritance

Object
ComponentBase
DxSettingsComponent<DevExpress.Blazor.Internal.ChartTitleModel>
DxComplexSettingsComponent<DxChartTitle, DevExpress.Blazor.Internal.ChartTitleModel>
DxChartTitle
See Also