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

解决方法:html

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

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

详细问题描述:code

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

相关文章
相关标签/搜索