API / Configuration / ChartAxisLabels
Defined in: src/types/chart/axis.ts:8
Properties
Property | Type | Description |
---|---|---|
autoRotation? |
boolean |
For horizontal axes, enable label rotation to prevent overlapping labels. If there is enough space, labels are not rotated. As the chart gets narrower, it will start rotating the labels -45 degrees. |
dateFormat? |
string |
- |
enabled? |
boolean |
Enable or disable the axis labels. |
margin? |
number |
The label's pixel distance from the perimeter of the plot area. @default: 10 |
numberFormat? |
FormatNumberOptions |
- |
padding? |
number |
The pixel padding for axis labels, to ensure white space between them. @defaults: 5 |
rotation? |
number |
Rotation of the labels in degrees. @default: 0 |
style? |
Partial <BaseTextStyle > |
- |
Previous