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

Reset Zoom not working when drilldown #6103

Closed
nabster11 opened this Issue Dec 7, 2016 · 4 comments

Comments

Projects
None yet
6 participants
@nabster11

nabster11 commented Dec 7, 2016

Expected behaviour

Reset Zoom button should work on drilldown.

Actual behaviour

Reset Zoom button not working on drilldown.

Live demo with steps to reproduce

http://jsfiddle.net/y9cao4kj/

Steps to reproduce:-

  1. Zoom 'xy' enough to hide the 1st column bar.

  2. Now drilldown on any column,

  • Press on Reset Zoom and then "Back to Brands", Still the zoomed view is shown and not the full view (1st Bug).
  • The buttons "Reset Zoom" and "Back to Brands" are overlapped. (2nd Bug)

Affected browser(s)

All

@pawelfus pawelfus added the Bug label Dec 7, 2016

@venbal

This comment has been minimized.

Show comment
Hide comment
@venbal

venbal Feb 1, 2017

Hi, What is the status of this issue? Does someone know when this will be fixed?
https://jsfiddle.net/p4agkwx8/

  1. Click on 'Add Series' to add multiple series
  2. zoom in
  3. drill down
  4. press reset-zoom
  5. press 'Back to Series x'

If you swap step 4 and 5 above, it behaves differently

venbal commented Feb 1, 2017

Hi, What is the status of this issue? Does someone know when this will be fixed?
https://jsfiddle.net/p4agkwx8/

  1. Click on 'Add Series' to add multiple series
  2. zoom in
  3. drill down
  4. press reset-zoom
  5. press 'Back to Series x'

If you swap step 4 and 5 above, it behaves differently

@amit1911

This comment has been minimized.

Show comment
Hide comment
@amit1911

amit1911 commented Jul 6, 2017

+1

@echarlus

This comment has been minimized.

Show comment
Hide comment
@echarlus

echarlus Oct 2, 2017

any idea of when this issue will be closed ?
I'm experiencing the issue with the Vaadin Framework, I managed to reset the zoom level of the serie before the drilldown so when I go back on drill-up zoom is reset to 1:1 but I cannot find a way to automatically hide the ResetZoom button on drilldown which is not good....

echarlus commented Oct 2, 2017

any idea of when this issue will be closed ?
I'm experiencing the issue with the Vaadin Framework, I managed to reset the zoom level of the serie before the drilldown so when I go back on drill-up zoom is reset to 1:1 but I cannot find a way to automatically hide the ResetZoom button on drilldown which is not good....

@pawelfus

This comment has been minimized.

Show comment
Hide comment
@pawelfus

pawelfus Oct 6, 2017

Contributor

Workaround:

Manually reset extremes and remove reset zoom button: https://jsfiddle.net/p4agkwx8/1/

Snippet:

chart.xAxis[0].setExtremes(null, null, false, false); // reset extremes, without redraw
if (chart.resetZoomButton) {
    chart.resetZoomButton = chart.resetZoomButton.destroy(); // destroy the button
}
Contributor

pawelfus commented Oct 6, 2017

Workaround:

Manually reset extremes and remove reset zoom button: https://jsfiddle.net/p4agkwx8/1/

Snippet:

chart.xAxis[0].setExtremes(null, null, false, false); // reset extremes, without redraw
if (chart.resetZoomButton) {
    chart.resetZoomButton = chart.resetZoomButton.destroy(); // destroy the button
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment