AnyChart
API Reference
Still have questions?
Contact support
Top

[enum] anychart.enums.OrdinalScaleModeImprove this Doc

Ordinal scale mode. Works for the anychart.scales.Ordinal#mode method.
ValueDescriptionExample
continuousThe 'continuous' mode expands the ordinal scale for comfortable visual display of the continuous series (line, area and etc.) The scale converts the midpoints of the extreme categories to 0 and 1 ratio respectively. So the series is drawn visually from the start of the chart to its end.
It is recommended to use only for continuous series, otherwise, you will get an incorrect display of discrete series (column, box, bar).
discreteThe default behavior for the ordinal scale.