jqplot not working for dynamic data

怎甘沉沦 提交于 2019-12-06 10:56:57

You need to put it inside a pageshow event.

Page height can be calculated correctly only during the pageshow event.

So use it like this:

$(document).on('pageshow','#pageid',function(){}); 

Also if you are using jQuery version 1.9.1+ then you can't use live because it was deprecated and it no longer exist.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!