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

3d Line Chart rotates as series visibility are toggled #7477

Closed
jpeterson opened this issue Dec 1, 2017 · 3 comments
Closed

3d Line Chart rotates as series visibility are toggled #7477

jpeterson opened this issue Dec 1, 2017 · 3 comments
Labels

Comments

@jpeterson
Copy link

@jpeterson jpeterson commented Dec 1, 2017

Expected behaviour

When I toggle the visibility of a series in a 3d line chart (by clicking the legend item), the series should appear/disappear on the chart, but the chart's rotation angles should not change.

Actual behaviour

When I toggle the visibility of a series in a 3d line chart, the rotation angles of the chart change progressively with each toggle action, causing the chart to become misaligned. (2 screenshots included below)

Live demo with steps to reproduce

http://jsfiddle.net/9wd3yb2r/

Affected browser(s)

Confirmed in Chrome, Firefox, and Safari on MacOS

Initial View:

image

View after toggling "John" series a number of times:

image

@KacperMadej
Copy link
Contributor

@KacperMadej KacperMadej commented Dec 3, 2017

Hi @jpeterson ,

Line is not a supported series type for a 3d chart. You can use scatter3d with lineWdith set to a positive value. Demo: http://jsfiddle.net/9wd3yb2r/2/

@KacperMadej KacperMadej closed this Dec 3, 2017
@jpeterson
Copy link
Author

@jpeterson jpeterson commented Dec 4, 2017

Thank you @KacperMadej!

@TorsteinHonsi
Copy link
Collaborator

@TorsteinHonsi TorsteinHonsi commented Dec 8, 2017

Line charts have basically been working with 3D charts since v6, so I fixed this issue. Here's the original demo with the fix applied: http://jsfiddle.net/highcharts/9wd3yb2r/3/ .

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
3 participants