flot - Uncaught Error: Invalid dimensions for plot, width = 335, height = 0 -


everytime refresh page, error in console

uncaught error: invalid dimensions plot, width = 335, height = 0

the pie chart loads first time, on refresh, throws error , not appear.

any suggestions /solutions ?

thanks

you forgot specify height div holder of graph.

<div id="mygraph" style="height:500px;"></div> 

this solve issue. :)


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -