| Option name | Type | Default |
|---|---|---|
| align | String | "center" |
| What part of the string the given position is anchored to. Can be one of "left", "center" or "right". In inverted charts, x axis label alignment and y axis alignment are swapped. | ||
| enabled | Boolean | true |
| Enable or disable the axis labels. | ||
| formatter | Function | |
| Callback JavaScript function to format the label. The value is given by this.value.Defaults to: function() { return this.value; } | ||
| rotation | Number | 0 |
| Rotation of the labels in degrees. | ||
| staggerLines | Number | null |
| Horizontal axes only. The number of lines to spread the labels over to make room or tighter labels. | ||
| step | Number | null |
| To show only every n'th label on the axis, set the step to n. Setting the step to 2 shows every other label. | ||
| style | Array | |
| CSS styles for the label. | ||
| x | Number | 0 |
| The x position offset of the label relative to the tick position on the axis. | ||
| y | Number | 0 |
| The y position offset of the label relative to the tick position on the axis. | ||