d3act
d3act copied to clipboard
easing enhancement
Any chance of incorporating easing? It is a simple process ..
.delay(function(d, i) { return i *10 } .ease('elastic')
But I am still learning your code so not quite sure where it would belong as a global. Somewhere in baseChart I am sure.
The setting
itself would go in the BaseChart
as part of the chartConfig
Object. Something like easing
and easingDelay
. Both could be null
by default to denote that no easing is applied.
Then each sub-class would need to make use of those configs in the same way that we do so for transitionDuration
:
.transition().duration(this.transitionDuration)