DxChartAxisTitle.CssClass Property
Specifies the name of a CSS class applied to an axis title.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v22.2.dll
NuGet Package: DevExpress.Blazor
Declaration
[Parameter]
public string CssClass { get; set; }
Property Value
Type | Description |
---|---|
String | The CSS class name. |
Remarks
The following code shows how to apply a custom style to an axis title:
<style>
.custom-style {
color: #1B3580;
font-style: italic;
}
</style>
<DxChart Data="@WeatherForecasts">
....
<DxChartArgumentAxis>
<DxChartAxisTitle Text="Date" HorizontalAlignment="HorizontalAlignment.Left" CssClass="custom-style"/>
</DxChartArgumentAxis>
....
</DxChart>
Refer to CSS Classes for more information.
See Also