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

Dynamic inversion doesn't work with certain chart types. #5938

Closed
Rashaine opened this Issue Nov 7, 2016 · 1 comment

Comments

Projects
None yet
3 participants
@Rashaine

Rashaine commented Nov 7, 2016

The new chart.update() method doesn't seem to work correctly for inversion in column/line/area charts. Previous techniques for dynamic inversion such as setting the chart.inverted option then doing a axis.update({}, false) also no longer work in Highcharts 5.0.

Expected behaviour

Using chart.update() to change the chart inversion should work.

Actual behaviour

Inverts the axis but the datapoints are translated off screen and not inverted.

Live demo with steps to reproduce

http://jsfiddle.net/dhq37ezs/

Affected browser(s)

Chrome

@TorsteinHonsi

This comment has been minimized.

Show comment
Hide comment
@TorsteinHonsi

TorsteinHonsi Nov 8, 2016

Collaborator

Thanks for reporting!

Our own demo and test does this correctly, it turns out to be because it also sets polar:false.

So a preliminary workaround for you would be to set polar: http://jsfiddle.net/highcharts/dhq37ezs/2/

Collaborator

TorsteinHonsi commented Nov 8, 2016

Thanks for reporting!

Our own demo and test does this correctly, it turns out to be because it also sets polar:false.

So a preliminary workaround for you would be to set polar: http://jsfiddle.net/highcharts/dhq37ezs/2/

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