chartist-js / chartist

Simple responsive charts
https://chartist.dev
MIT License
13.35k stars 2.53k forks source link

Label maxSteps #608

Closed OscarGodson closed 8 years ago

OscarGodson commented 8 years ago

How would I do something like maxSteps? I don't want to skip certain ones I want to make sure that there's only ever, say, 1-20 labels. So if I normally would have had 100 points / 100 labels it would be replaced with only 20 labels like one every 5 points. I just don't want the labels to look like this: kirby starterkit home 2016-02-09 00-13-25

gionkunz commented 8 years ago

The Auto axis contains a setting scaleMinSpace where you can define the minimum space allowed between generated grid lines.

gionkunz commented 8 years ago

Closing becauase of inactivity