I would like to know; is it possible to define/modify the pitch/step between all points of my chart (axisX) ?
My chart is defined with a 800px width. We’ll see the data from 0px to 800px (all over the chart): the step is defined automatically in order to see all the chart. Is there a way to change that in order to control this step between points ?
Interval isn’t what I need.
Here a representation about step/pitch/interval between points:
Is it possible to change this value ? At this moment this value is defined automatically based on the number of data: more you have points, less this value is important.
In my example we can consider the step is 50px (for example), if I add data, this step will change and will be less than 50px. I would like to control this step in order to say to the chart “whatever the number of data the step will be the same”. Is it possible ?
I know maximum exists (https://canvasjs.com/docs/charts/chart-options/axisx/maximum/) it will fix the step by locking the axis, but it’s not exactly what I’m looking for !
When you define the width of the chart like that: <div id="chartContainer" style="height: 400px; width: 800px;"></div>
800px will be the width of everything and not only the points.
Thank you for your help !
This reply was modified 2 months, 2 weeks ago by Emeric.