Skip to main content
A newer version of this page is available.
All docs
V20.2

DxChartAxisLabel.CssClass Property

Specifies the name of a CSS class applied to axis labels.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v20.2.dll

NuGet Package: DevExpress.Blazor

Declaration

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

Property Value

Type Description
String

The name of a CSS class.

Remarks

The following example demonstrates how to apply a custom style to axis labels.

<DxChart Data="@WeatherForecasts">
    ....
    <DxChartArgumentAxis>
        <DxChartAxisLabel CssClass="axis-labels"></DxChartAxisLabel>
    </DxChartArgumentAxis>
    ....
</DxChart>

Refer to CSS Classes for more information.

See Also