开发者

Highcharts.js: how can stacked area graph animations be smooth?

开发者 https://www.devze.com 2023-04-07 08:34 出处:网络
I\'m trying to make a realtime-updatin开发者_StackOverflowg stacked area graph in Highcharts.js. The problem is that the \"area\" of the graph disappears during .addPoint() animation.

I'm trying to make a realtime-updatin开发者_StackOverflowg stacked area graph in Highcharts.js. The problem is that the "area" of the graph disappears during .addPoint() animation.

I'm trying to achieve this effect: http://jsfiddle.net/DgKKX/5/

...But when I try it for area graphs, this happens: http://jsfiddle.net/DgKKX/6/

Anyone got a clue on how to make the "area" animate as well?


Try duration and easing options of animation property similar to jsfiddle.net/DgKKX/5

Maybe you could also change area to 'areaspline' so that graph will be smooth

0

精彩评论

暂无评论...
验证码 换一张
取 消