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
Add a xaxis.stepsize and you will get the incorrect result
Setting xaxis.type="numeric" does not resolve it, it does change the x axis scale.
xaxis: {
// to cause the problem, add a step size
// any deviation from default stepSize causes issue.
// you will see that the points are plotted
// in the wrong location along the x axis.
stepSize: 2
},
Screenshots
Screen shots shown in expected and actual behavior. Note the difference in the x axis. The x axis labels updated, but the positions of the data were not updated.
Uh oh!
There was an error while loading. Please reload this page.
Description
Steps to Reproduce
YOu can reproduce at this code pen https://codepen.io/urbnsurfr/pen/PwoJmpL
Expected Behavior
Consider this data set:
{ x: 1, y: 5 },
{ x: 2, y: 10 }
{ x: 5, y: 15 },
{ x: 6, y: 15 }
Actual Behavior
Add a xaxis.stepsize and you will get the incorrect result
Setting xaxis.type="numeric" does not resolve it, it does change the x axis scale.
xaxis: {

// to cause the problem, add a step size
// any deviation from default stepSize causes issue.
// you will see that the points are plotted
// in the wrong location along the x axis.
stepSize: 2
},
Screenshots
Screen shots shown in expected and actual behavior. Note the difference in the x axis. The x axis labels updated, but the positions of the data were not updated.
Reproduction Link
code pen copied and adjusted as https://codepen.io/urbnsurfr/pen/PwoJmpL
The text was updated successfully, but these errors were encountered: