Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Data not showing in Scatter plot #5234
Show a scatter plot with data
The graph is sending a message of no data, but there actually is data
Live demo of the issue
Tried only in chrome
I found that when the first data point (x) of a serie has a value of NULL, the whole graph doesn't show anything, when i correct this in the php code (replacing null for a 0), it worked like always.
hope it helps someone :)
@cima007 x values can not have the value null, it is not considered as valid. But x values can be undefined, then it will be automatically incremented. This information was missing from our API and we will update it to avoid uncertainty around how it behaves.
We would also like to ask if you consider this behavior to be correct, or should
Thanks for the quick reply.
With that in mind, i think that when i have a null point in a scatter plot, the graph should tell me there is something wrong with that point in particular, (a message or highlight). Which lets the user find out where does that mistake comes from, even if x and y are null.
Obviously it's an ideal, i love highcharts and the way it works, but like any program ther is space for improvement :)