You must be logged in to post your query.
Home › Forums › Report Bugs › Draw issue on line chart with empty data
Hi,
I would like to represent a chart that is initially blank with axis lines but will redraw once data is received from the server. If I attempt to create the chart with an empty data array, you will see there is a bit of a draw issue on the y-axis. At the top of the y-axis there is a ‘0’ which is partially cut off. If I omit the data points altogether it simply encounters a javascript error. Is there a way I can represent a chart with axis before data starts arriving from the server?
JSFiddle: http://jsfiddle.net/bc00gav2/2/
Framnk,
Thanks for reporting, it’s a known issue. Here is a workaround.
I don’t think this is a great way to resolve this problem. it will be nice if we write ‘NO DATA’ or something else in the graph.
I’ve made an update to an existing code here : resolved problem
You must be logged in to reply to this topic. Login/Register