Back to Devexpress

DxChartAxisLabel Class

blazor-devexpress-dot-blazor-49534e2e.md

latest2.5 KB
Original Source

DxChartAxisLabel Class

Defines settings for axis labels.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
public class DxChartAxisLabel :
    DxChartAxisLabelBase<ChartAxisLabelModel>

Remarks

The DxChartAxisLabel component allows you to configure labels for DxChartArgumentAxis and DxChartValueAxis.

Use the Format property to change the display format for labels. All predefined formats are available in the ChartElementFormat class.

razor
<DxChartValueAxis>
    <DxChartAxisLabel Format="ChartElementFormat.Decimal()"></DxChartAxisLabel>
</DxChartValueAxis>

Run Demo: Charts - Multiple Axes

To hide axis labels, set the Visible property to false.

Refer to the following section for additional information about axis labels: Axis Labels.

Implements

IComponent

IHandleEvent

IHandleAfterRender

IDisposable

Inheritance

Object ComponentBase DxSettingsComponent<DevExpress.Blazor.Internal.ChartAxisLabelBaseModel> DxComplexSettingsComponent<DxChartAxisLabelBase<DevExpress.Blazor.Internal.ChartAxisLabelModel>, DevExpress.Blazor.Internal.ChartAxisLabelBaseModel> DxChartAxisLabelBase<DevExpress.Blazor.Internal.ChartAxisLabelModel> DxChartAxisLabel

See Also

DxChartAxisLabel Members

DevExpress.Blazor Namespace