Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flot graph animation possible?

Is it possible to animate flot graph similar to this "www.jqplot.com/deploy/dist/examples/barLineAnimated.html"??

How to add animations for the below code?

$("#verticlebar").width($('#verticlebar').parent().width());

$.plot(chartID,chartData,options);
like image 408
Sweetz Avatar asked Dec 08 '25 10:12

Sweetz


2 Answers

Yes, you can do this with this plugin (Flot Animator) : http://www.codicode.com/demo/flotanimator

I developed this plugin, it can animate any type of series type (lines, bars, points), you can choose the animation direction (left, right, center), the duration, steps..

like image 199
Chtiwi Malek Avatar answered Dec 10 '25 23:12

Chtiwi Malek


Not in the core library, but Juergen Marsch has created some plugins that animate certain plot types. There's a demo available, and you can find the source on his downloads page.

like image 20
DNS Avatar answered Dec 10 '25 23:12

DNS