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

Missing points after zoom scatter 3D #8021

Closed
pawelfus opened this issue Mar 15, 2018 · 1 comment
Closed

Missing points after zoom scatter 3D #8021

pawelfus opened this issue Mar 15, 2018 · 1 comment
Assignees

Comments

@pawelfus
Copy link
Contributor

@pawelfus pawelfus commented Mar 15, 2018

Expected behaviour

Points rendered within the plotting area, according to the extremes.

Actual behaviour

Random points are rendered.

Live demo with steps to reproduce

http://jsfiddle.net/BlackLabel/5hzf22fv/4/

Steps:

  1. Zoom in
  2. Reset zoom

Product version

Highcharts v6.0.0+

It used to work in v5: http://jsfiddle.net/BlackLabel/5hzf22fv/5/

@Denyllon
Copy link
Contributor

@Denyllon Denyllon commented Mar 16, 2018

Workaround:

After toggling visibility of any series (e.g by clicking it in the legend), scatter points are getting back to their correct positions. Calling show() on any of series from the inside of xAxis and yAxis afterSetExtremes event function helps in this case.

xAxis: {
  events: {
    afterSetExtremes: function() {
      this.series[0].show()
    }
  }
},
yAxis: {
  events: {
    afterSetExtremes: function() {
      this.series[0].show()
    }
  }
}
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
2 participants
You can’t perform that action at this time.