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

Comments

Projects
None yet
1 participant
@TorsteinHonsi
Collaborator

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

This comment has been minimized.

Collaborator

TorsteinHonsi commented Mar 7, 2018

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

@ghost

This comment has been minimized.

ghost commented Mar 7, 2018

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

@TorsteinHonsi

This comment has been minimized.

Collaborator

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

This comment has been minimized.

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