最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Highcharts equivalent of this Raphael.js chart demo -- possible? - Stack Overflow

programmeradmin1浏览0评论

Is it possible to do the equivalent of this Raphael.js chart demo in Highcharts? Namely, to be able to have the graph animate a transform into the new data.

The only example I've seen of charting new data in Highcharts simply redraws the entire chart, instead of transforming the points into the new data. So I'm not sure it's even doable.

Is it possible to do the equivalent of this Raphael.js chart demo in Highcharts? Namely, to be able to have the graph animate a transform into the new data.

The only example I've seen of charting new data in Highcharts simply redraws the entire chart, instead of transforming the points into the new data. So I'm not sure it's even doable.

Share Improve this question edited Jan 6, 2011 at 4:49 aehlke asked Jan 3, 2011 at 21:53 aehlkeaehlke 15.9k5 gold badges37 silver badges45 bronze badges
Add a ment  | 

3 Answers 3

Reset to default 4

Maybe you want to look at alternative libraries like Elycharts, a MIT licensed, SVG+VML charting library supporting "step animations", look at this demo

You can find many examples on the Highcharts web site, but yes lately highcharts have implemented the animate option which is on by defualt, so that when you change data, the graphs animate into the new positions.

One example I have found is this: Highcharts animation example

chart: {
    animation: {
        duration: 1000
    }
},

Of course you can find more information on Highcharts Options Reference (look for chart options and then animation).

Thanks!

Yes,see http://captico./animation-with-raphaeljs/2010/07 There is more links and examples @ http://irunmywebsite./raphael/raphaelsource.php

发布评论

评论列表(0)

  1. 暂无评论