ChartAxisLabelFormat Enum
OBSOLETE
This enumeration is obsolete. Use the ChartElementFormat class instead.
Lists formats applied to axis and series labels.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
[Obsolete("This enumeration is obsolete. Use the ChartElementFormat class instead.")]
public enum ChartAxisLabelFormat
Members
Name | Description |
---|---|
Billions
|
Displays numbers as a billion (1 000 000 000.11 → 1B). |
Currency
|
Adds a currency symbol to a number (3.95 → $3.95). |
Day
|
Displays a current day (for example, 01). |
Decimal
|
Displays a decimal number (100.11 → 100). |
Exponential
|
Displays a number in exponential notation (1 000 → 1E+3). |
FixedPoint
|
Displays a number with a fixed point. |
LargeNumber
|
Uses “Thousands”, “Millions”, “Billions”, or “Trillions” format depending on the actual value. |
LongDate
|
Displays a date in the |
LongTime
|
Displays a time value in the |
Millions
|
Displays numbers as a million (1 000 000.11 → 1M). |
Millisecond
|
Displays milliseconds (for example, 010). |
Month
|
Displays months (for example, January). |
MonthAndDay
|
Displays a date in the |
MonthAndYear
|
Displays a date in the |
Percent
|
Displays numbers as percentile values (for example, 0.1 → 10%). |
Quarter
|
Displays a quarter of the year for a date (for example, QI). |
QuarterAndYear
|
Displays a quarter and year (for example, QI 1970). |
ShortDate
|
Displays a date in the |
ShortTime
|
Displays time in the |
Thousands
|
Displays numbers as a thousand (1 000.11 → 1K). |
Trillions
|
Displays numbers as a trillion (1 000 000 000 000 → 1T). |
Year
|
Displays years (for example, 1970). |
DayOfWeek
|
Displays a day of the week (for example, Thursday). |
Hour
|
Displays hours (for example, 12). |
LongDateLongTime
|
Displays a date-time value in the |
Minute
|
Displays time in minutes (for example, 00). |
Second
|
Displays seconds (for example, 00). |
ShortDateShortTime
|
Displays a date in the |
Default
|
Label values are not formatted. |
Remarks
The enumeration is obsolete now. Use the ChartElementFormat instead.
The ChartAxisLabelFormat
enumeration lists formats for numeric and date-time axis labels. For example, the following code formats a value axis’s labels:
<DxChartValueAxis>
<DxChartAxisLabel Format="ChartAxisLabelFormat.Decimal"></DxChartAxisLabel>
</DxChartValueAxis>