DxChartAxisLabel.CssClass Property

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

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll

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