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

Comments

Projects
None yet
3 participants
@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

This comment has been minimized.

Show comment
Hide comment
@KacperMadej

KacperMadej Dec 3, 2017

Contributor

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/

Contributor

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

This comment has been minimized.

Show comment
Hide comment
@jpeterson

jpeterson commented Dec 4, 2017

Thank you @KacperMadej!

@TorsteinHonsi

This comment has been minimized.

Show comment
Hide comment
@TorsteinHonsi

TorsteinHonsi Dec 8, 2017

Collaborator

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/ .

Collaborator

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