palantir / plottable

:bar_chart: A library of modular chart components built on D3
http://plottablejs.org/
MIT License
2.97k stars 221 forks source link

Animators on Plots.Rectangle #3036

Open jtlan opened 8 years ago

jtlan commented 8 years ago

Plots.Rectangle doesn't currently respond to animator() the same way other Plots do:

rectanglePlot.animator(Plottable.Plots.Animators.MAIN, new Plottable.Animators.Easing()); // no effect
jtlan commented 8 years ago

Currently it looks like Plots.Rectangle looks for an Animator with the registration key "rectangles" instead of the key Plots.Animators.MAIN. This should be pretty straightforward to adjust, but we should also figure out what animation style we want.