Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

easing enhancement #16

Open
JoeGrasso opened this issue Oct 9, 2015 · 1 comment
Open

easing enhancement #16

JoeGrasso opened this issue Oct 9, 2015 · 1 comment

Comments

@JoeGrasso
Copy link

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.

@AnSavvides
Copy link
Owner

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants