You must be logged in to post your query.
Home › Forums › Report Bugs › Crowded display
I rendered the chart without data at begin.
Then I set up the options and render again, the final look of the graph is like
Did I made something wrong on that?
@intijk
It seems like you have set maximum and interval properties of axisX. Removing them should work fine. If this doesn’t suit your requirements, can you please create a jsfiddle reproducing the issue you are facing so that we can understand it better and help you out.
— Sanjoy Debnath Team CanvasJS
Hi @Sanjoy
I found the issue.
When I provide data like : [ { “x”: 1, “y”: 1.0 }, { “x”: 2, “y”: 2.0 } ]
The auto scale would work perfectly, but when I use “x” value as string like: [ { “x”: “1”, “y”: 1.0 }, { “x”: “2”, “y”: 2.0 } ]
It will still plot the point without issue, but the scale would have be wrong and crowd, I hope you find this bug well with my description.
@intijk,
X-values can either be numeric or date-time/time-stamp, but not string. Please take a look at the page for more information.
— Sanjoy Debnath, Team CanvasJS
You must be logged in to reply to this topic. Login/Register