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

Fix radar chart position not center #4032

Merged
merged 1 commit into from
Mar 21, 2017
Merged

Conversation

shirosaki
Copy link
Contributor

Radar chart position is not center horizontally with v2.5.0.

Right and left of furthestLimits would be switched wrongly on
this refactoring commit.
e1606f8

I've confirmed radar chart is center with this fix.

Radar chart position is not center horizontally with v2.5.0.

Right and left of `furthestLimits` would be switched wrongly on
this refactoring commit.
chartjs@e1606f8
@etimberg
Copy link
Member

Good catch @shirosaki!
I think the code looks ok. Could you post a fiddle with your fix so we can look at the outcome of this PR?

@shirosaki
Copy link
Contributor Author

With v2.5.0:
https://jsfiddle.net/zve34Loa/10/

With this fix:
https://jsfiddle.net/jbzyqked/3/

@etimberg etimberg added this to the Version 2.6 milestone Mar 18, 2017
@etimberg
Copy link
Member

@shirosaki looks great. I think this can go in v2.6 😄

@etimberg etimberg merged commit cffa944 into chartjs:master Mar 21, 2017
roicos pushed a commit to roicos/Chart.js that referenced this pull request Aug 21, 2017
Radar chart position is not center horizontally with v2.5.0.

Right and left of `furthestLimits` would be switched wrongly on
this refactoring commit.
chartjs@e1606f8
exwm pushed a commit to exwm/Chart.js that referenced this pull request Apr 30, 2021
Radar chart position is not center horizontally with v2.5.0.

Right and left of `furthestLimits` would be switched wrongly on
this refactoring commit.
chartjs@e1606f8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants