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

PolarArea off-center #2708

Closed
jewkesy opened this issue Jun 4, 2016 · 8 comments
Closed

PolarArea off-center #2708

jewkesy opened this issue Jun 4, 2016 · 8 comments

Comments

@jewkesy
Copy link

jewkesy commented Jun 4, 2016

I'm having an issue where my Polar Area charts render the data slightly off-center.

Sceenshot attached showing my 4 charts, where you can see on each one the center-point is slightly to the right of the grid center by a small amount of pixels.

screen shot 2016-06-04 at 15 24 59

On the same page I'm also using Bar charts and Line charts, all rendering correctly.

I've removed all my CSS to track the cause, but it still occurs. Has anyone experienced this before and can advise how to correct it?

Using 2.1.4 at the mo.

Thanks
D

@ConnorLinfoot
Copy link

Any idea when this will be fixed? Being having this issue also :/

@etimberg
Copy link
Member

@ConnorLinfoot i'd be happy to merge a PR fixing this.

@jewkesy
Copy link
Author

jewkesy commented Jun 16, 2016

I've created a JSFiddle showing the issue, checked in Chrome and FireFox.

https://jsfiddle.net/jewkesy/857c3p7t/

It seems that having fixed dimensions on the <canvas> object is causing the issue.

Also note that 'Yellow' does not render unless you turn the other colors off.

@ConnorLinfoot
Copy link

I do notice that if you remove the labels it seems to be aligned correctly, not sure if that's any help to anyone?

@jewkesy
Copy link
Author

jewkesy commented Jun 17, 2016

@ConnorLinfoot I did try that, but it made no difference to my app.

@pierot
Copy link

pierot commented Jul 13, 2016

@etimberg in which release will this fix be present? As I can see, not in the currently available 2.1.6 version. Right?

@ConnorLinfoot
Copy link

@pierot There hasn't been a released with this fix on it yet, still waiting myself rather than hosting a local copy.

@etimberg
Copy link
Member

The next release will be a v2.2.0. We will likely have a v2.2.0-rc.1 build as soon as #2926 and #2918 are merged

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

4 participants