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

Cannot set chart.reflow with chart.update() #7965

Closed
TorsteinHonsi opened this issue Mar 7, 2018 · 4 comments
Closed

Cannot set chart.reflow with chart.update() #7965

TorsteinHonsi opened this issue Mar 7, 2018 · 4 comments

Comments

@TorsteinHonsi
Copy link
Collaborator

@TorsteinHonsi TorsteinHonsi commented Mar 7, 2018

Expected behaviour

To be able to toggle chart.reflow.

Actual behaviour

Cannot change it with chart.update().

Live demo with steps to reproduce

  1. Open http://jsfiddle.net/rc8h4age/1/
  2. Click the "reflow: false" button.
  3. Drag the splitter in the middle to resize the pane. The chart still resizes.

Product version

v6.0.7

Affected browser(s)

All

@TorsteinHonsi
Copy link
Collaborator Author

@TorsteinHonsi TorsteinHonsi commented Mar 7, 2018

Internal note:
Unit tests coming up in a separate commit.

@ghost
Copy link

@ghost ghost commented Mar 7, 2018

chart.update({reflow:true}) is still failing, if chart gets initialized with reflow: false: http://jsfiddle.net/pxamkgff/

@TorsteinHonsi
Copy link
Collaborator Author

@TorsteinHonsi TorsteinHonsi commented Mar 8, 2018

I don't think so... Your fiddle used v6.0.7, which is the current release. See http://jsfiddle.net/highcharts/pxamkgff/2/.

@ghost
Copy link

@ghost ghost commented Mar 8, 2018

Yes, you are correct. Sorry for the mistake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant