DxChartAxisLabelBase<T>.Format Property
In This Article
Specifies the display format for axis labels.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
#Declaration
C#
[Parameter]
public ChartElementFormat Format { get; set; }
#Property Value
Type | Description |
---|---|
Chart |
An enumeration value. |
#Remarks
The following code formats a value axis’s labels:
Razor
<DxChartValueAxis>
<DxChartAxisLabel Format="ChartElementFormat.Decimal()"></DxChartAxisLabel>
</DxChartValueAxis>
You can use the following built-in formats. To be in effect, an applied format should be compatible with the axis type. Refer to the following section for a list of available formats: Value Formats.
Blazor charts also support custom format strings. Refer to the following topic for more information: FromLdmlString(String).
See Also