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

Percentage Label has seizure on circular progress bar hover #43

Open
michaelgira23 opened this issue Oct 11, 2017 · 2 comments
Open

Percentage Label has seizure on circular progress bar hover #43

michaelgira23 opened this issue Oct 11, 2017 · 2 comments

Comments

@michaelgira23
Copy link
Member

Video Demonstration

Since the "progress bar" is actually a chart.js pie chart, chart.js isn't necessarily built for our use case. When we update the class percentages every second, it has to redraw the canvas and resets the position of the hover labels. Since the label's position is animated, it keeps sliding from the origin (top-left corner) to it's actual position.

It's possible this could be fixed be removing the transition timing function/duration for the label position.

@JackCai1206
Copy link
Collaborator

@sbaumohl
Copy link
Member

sbaumohl commented Jun 6, 2020

maybe we use https://d3js.org/
?

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

3 participants