JavaScript/jQuery RangeSelector - scale.label
Specifies common properties for scale labels.
Scale labels represent textual values for major scale ticks. The label object exposes properties that allow you to specify custom text for scale labels and properties that allow you to change the font for text.
customizeText
Specifies a callback function that returns the text to be displayed in scale labels.
The text for the label to display.
this keyword.See Also
format
Formats a value before it is displayed in a scale label.
See the format section for information on accepted values.
When this property value is undefined, date-time axis labels include higher-level range boundaries. For example, if an axis displays months, each January label includes a year number. If an axis displays days, the first visible label in a month includes the month name.
See Also
overlappingBehavior
Decides how to arrange scale labels when there is not enough space to keep all of them.
When scale labels overlap each other, you can rearrange them by setting this property to one of the following values.
- hide
Hides certain scale labels leaving more space for the others. - none
Leaves scale labels overlapped.
topIndent
Specifies a spacing between scale labels and the background bottom edge.
