[英]Highcharts standalone framework with highcharts-ng, angular. Animation issue
When I use the standalone framework for highcharts, the animation is faulty when I update the data. 当我使用独立框架进行图表绘制时,更新数据时动画出现错误。 Jsfiddle: http://jsfiddle.net/user1572526/3stqK/3/ This error only occurs when I use the standalone framework.
Jsfiddle: http : //jsfiddle.net/user1572526/3stqK/3/仅当我使用独立框架时才会发生此错误。 If I use the full jQuery library, it works.
如果我使用完整的jQuery库,则可以使用。 Has it something to do with the highcharts directive I'm using?
与我使用的highcharts指令有关吗? https://github.com/pablojim/highcharts-ng
https://github.com/pablojim/highcharts-ng
Any idea how I can fix this? 知道我该如何解决吗? I really want to avoid dragin in the full jQuery library cause of this.
我真的想避免在整个jQuery库中拖入这个的原因。
Highcharts with standalone framework. 具有独立框架的Highcharts。 Animation works if I change to jquery.
如果我更改为jquery,则动画有效。
<script src="https://rawgithub.com/highslide-software/highcharts.com/master/js/adapters/standalone-framework.src.js"></script>
<script src="http://code.highcharts.com/highcharts.js"></script>
It seems that the problem is with your additioanl plugin highcharts-ng, because without that, all works properly as in the example 看来问题出在您的additioanl插件highcharts-ng,因为没有它,所有插件都可以正常运行,如示例所示
var btn = document.getElementById('button'),
y=30;
btn.onclick = function(){
chart.series[0].data[0].update(100);
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.