You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was expecting ['Options']['scales']['xAxes'][0]['ticks']['fixedStepSize'] = 1;` to give me a step size of 1.
Current Behavior
I got the step size that chart.js had worked out (2: 40,42,44, etc.).
I had to specify ['Options']['scales']['xAxes'][0]['ticks']['autoSkip'] = false; to get a step size of 1.
Possible Solution
Update the docs to mention that this needs to be done. (Easiest)
Or, in the code, set autoSkip to false if you are specifying a step size
Environment
Chart.js version: 2.5
The text was updated successfully, but these errors were encountered:
Expected Behavior
I was expecting
['Options']['scales']['xAxes'][0]['ticks']['fixedStepSize']
= 1;` to give me a step size of 1.Current Behavior
I got the step size that chart.js had worked out (2: 40,42,44, etc.).
I had to specify
['Options']['scales']['xAxes'][0]['ticks']['autoSkip'] = false;
to get a step size of 1.Possible Solution
Update the docs to mention that this needs to be done. (Easiest)
Or, in the code, set autoSkip to false if you are specifying a step size
Environment
The text was updated successfully, but these errors were encountered: