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

chart.update with a drilldown doesn't work #7600

Closed
Munksgaard opened this Issue Jan 2, 2018 · 1 comment

Comments

Projects
None yet
3 participants
@Munksgaard
Contributor

Munksgaard commented Jan 2, 2018

Expected behaviour

Using chart.update to update the data series and a corresponding change to the drilldown data should work.

Actual behaviour

It doesn't

Live demo with steps to reproduce

Here's an example: http://jsfiddle.net/f6fydL8p/1/

Note that the two data sets (before and after) are pretty much the same, but after clicking the update button which updates the series and drilldown, trying to drill down into one of the columns doesn't actually work.

Affected browser(s)

Firefox and chrome

@pawelfus

This comment has been minimized.

Contributor

pawelfus commented Jan 3, 2018

Hi @Munksgaard

Thank you for reporting this bug. It looks like chart.options.drilldown and chart.userOptions.drilldown are not updated which causes this. Possible workaround is to overwrite these options manually, instead of using chart.update() method, demo: http://jsfiddle.net/f6fydL8p/4/

@pawelfus pawelfus added the Bug label Jan 3, 2018

@TorsteinHonsi TorsteinHonsi self-assigned this Jan 4, 2018

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