Home Forums Report Bugs Draw issue on line chart with empty data

Draw issue on line chart with empty data

Viewing 4 posts - 1 through 4 (of 4 total)
  • #9952

    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/

    #9953

    Framnk,

    Thanks for reporting, it’s a known issue. Here is a workaround.

    #9955

    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.

    #9957

    I’ve made an update to an existing code here : resolved problem

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.