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

Cannot update panes in gauge chart #6089

Closed
PaulDalek opened this Issue Dec 5, 2016 · 5 comments

Comments

Projects
None yet
5 participants
@PaulDalek
Contributor

PaulDalek commented Dec 5, 2016

Behaviour

Function Chart.update() does not seem to update pane in gauge chart. Not sure if this is a bug, as in pre-Chart.update() function era it was not treated as such (#5593)

Live demo

http://jsfiddle.net/d_paul/60dvhrpg/

@oysteinmoseng oysteinmoseng added the Bug label Dec 6, 2016

@oysteinmoseng

This comment has been minimized.

Show comment
Hide comment
@oysteinmoseng

oysteinmoseng Dec 6, 2016

Collaborator

I would definitely consider this a bug, it's not a logical limitation from the user's perspective.

Collaborator

oysteinmoseng commented Dec 6, 2016

I would definitely consider this a bug, it's not a logical limitation from the user's perspective.

@TorsteinHonsi

This comment has been minimized.

Show comment
Hide comment
@TorsteinHonsi

TorsteinHonsi Dec 12, 2016

Collaborator

I did some research and found that chart.update with pane is currently not implemented. I agree it is a bug.

This is how far I got.

The problem now is with the background, which is implemented as a plot band on the pane's first axis. This is a problematic design, especially when it comes to adding, updating and removing, and even on exporting as we have seen before. It is probably not too hard to finish the gist to fix the issue, but we should also consider a different binding between panes and axes.

Collaborator

TorsteinHonsi commented Dec 12, 2016

I did some research and found that chart.update with pane is currently not implemented. I agree it is a bug.

This is how far I got.

The problem now is with the background, which is implemented as a plot band on the pane's first axis. This is a problematic design, especially when it comes to adding, updating and removing, and even on exporting as we have seen before. It is probably not too hard to finish the gist to fix the issue, but we should also consider a different binding between panes and axes.

@newlukai

This comment has been minimized.

Show comment
Hide comment
@newlukai

newlukai Feb 1, 2017

Today I also stumbled upon this bug. How far is the progress here, can we expect a fix soon? Or would I need to create a new Chart object in the case I want to update a gauge chart?

newlukai commented Feb 1, 2017

Today I also stumbled upon this bug. How far is the progress here, can we expect a fix soon? Or would I need to create a new Chart object in the case I want to update a gauge chart?

@KacperMadej

This comment has been minimized.

Show comment
Hide comment
@KacperMadej

KacperMadej Feb 6, 2017

Contributor

+1

Contributor

KacperMadej commented Feb 6, 2017

+1

@KacperMadej

This comment has been minimized.

Show comment
Hide comment
@KacperMadej

KacperMadej Mar 31, 2017

Contributor

Fixed through 2f49339

Contributor

KacperMadej commented Mar 31, 2017

Fixed through 2f49339

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