Angularjs ui-jq plot 数据不加载问题解决

原创
2016/12/14 20:49
阅读数 710

解决方法:

此问题是由于plot懒加载引起的,添加ui-refresh属性,属性值为画图所需的数据,问题即可解决。如:

<div id="test" ui-jq="plot" ui-refresh="line" ui-options="[{ data: {{line}}, ... }, ... ]"></div>

详细问题描述:

http://stackoverflow.com/questions/29929618/ui-jq-flot-chart-on-lazy-load

展开阅读全文
加载中

作者的其它热门文章

打赏
0
0 收藏
分享
打赏
0 评论
0 收藏
0
分享
返回顶部
顶部