Sweetz
Sweetz

Reputation: 342

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);

Upvotes: 3

Views: 5554

Answers (2)

Chtioui Malek
Chtioui Malek

Reputation: 11515

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..

Upvotes: 10

DNS
DNS

Reputation: 38199

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.

Upvotes: 1

Related Questions