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

Animation when changing label position. #157

Open
antonio-goncalves-unp opened this issue Nov 4, 2019 · 0 comments
Open

Animation when changing label position. #157

antonio-goncalves-unp opened this issue Nov 4, 2019 · 0 comments

Comments

@antonio-goncalves-unp
Copy link

I have this use case:

I want to be able to place the label "Baseline: 0%" under or above the axis depending on the slope of the chart.

Screenshot 2019-11-04 at 18 24 31

Screenshot 2019-11-04 at 18 24 26

I am able to to this by defining a method on the align option

https://chartjs-plugin-datalabels.netlify.com/guide/positioning.html#alignment-and-offset

But I would like to define a transition animation when changing between the above and below position, there is any way to achieve that?

Thanks in advance

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