动画图表js(行),逐行动画绘制图表

问题描述:

是否有一种方法可以扩展当前的chart.js,以使动画图形不会对整个图表进行动画处理,而是通过动画(轻松)逐行绘制图表?

Is there a way to extend the current chart.js so that the animation drawing doesn't animate the whole chart, but drawing the chart line by line with animation (ease) ?

Nevermind。我通过扩展chart.js并覆盖draw()函数来实现这一点,以便对行进行动画处理从一个点/点到另一个点/点,直到最后一个点/点。

Nevermind.I've implement it by extending chart.js and override draw() function so that I can animate the line from one dot/point to another until the last dot / point.