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

Chart update doesn't work with 3D when chart initialized with empty array of series #8641

Closed
renatoly opened this Issue Jul 18, 2018 · 5 comments

Comments

Projects
None yet
4 participants
@renatoly

renatoly commented Jul 18, 2018

This could possibly be related to: #8628. But errors are different and demo setup as well.

Hero is the Demo: https://jsfiddle.net/renatoly/43wzkva5/1/

After initializing a chart with an empty series array, and then when updating it chart.update(options,true,true) it works perfectly when the chart is non 3D.

But when using options to specify a 3D Chart we get the following error:

highcharts-3d.js:64 Uncaught TypeError: Cannot read property 'left' of undefined
at G. (highcharts-3d.js:64)
at G.a.(fiddle.jshell.net/_display/anonymous function) [as getSlotWidth] (https://code.highcharts.com/highcharts.js:20:80)
at a.Tick.handleOverflow (highcharts.js:112)
at a.Tick.renderLabel (highcharts.js:117)
at a.Tick.render (highcharts.js:118)
at G.renderTick (highcharts.js:163)
at highcharts.js:164
at Array.forEach ()
at a.each (highcharts.js:28)
at G.render (highcharts.js:164)

@KacperMadej

This comment has been minimized.

Show comment
Hide comment
@KacperMadej

KacperMadej Jul 18, 2018

Contributor

Hi @renatoly

Thank you for reporting about the problem.

Internal note: This is a different issue than #8628

Contributor

KacperMadej commented Jul 18, 2018

Hi @renatoly

Thank you for reporting about the problem.

Internal note: This is a different issue than #8628

@KacperMadej KacperMadej added the Bug label Jul 18, 2018

@renatoly

This comment has been minimized.

Show comment
Hide comment
@renatoly

renatoly Jul 31, 2018

Hi, I was wondering if there are any updates on this issue.

Thanks

renatoly commented Jul 31, 2018

Hi, I was wondering if there are any updates on this issue.

Thanks

@sebastianbochan

This comment has been minimized.

Show comment
Hide comment
@sebastianbochan

sebastianbochan Aug 1, 2018

Contributor

The bug is still opened, as a result it has not been fixed yet.

Contributor

sebastianbochan commented Aug 1, 2018

The bug is still opened, as a result it has not been fixed yet.

@TorsteinHonsi TorsteinHonsi self-assigned this Aug 17, 2018

@TorsteinHonsi

This comment has been minimized.

Show comment
Hide comment
@TorsteinHonsi

TorsteinHonsi Aug 17, 2018

Collaborator

Hi @renatoly , sorry for the delay!

Here's your demo with the fix applied: https://jsfiddle.net/highcharts/43wzkva5/41/.

The fix will be part of the next maintenance release, within a few weeks.

Collaborator

TorsteinHonsi commented Aug 17, 2018

Hi @renatoly , sorry for the delay!

Here's your demo with the fix applied: https://jsfiddle.net/highcharts/43wzkva5/41/.

The fix will be part of the next maintenance release, within a few weeks.

@renatoly

This comment has been minimized.

Show comment
Hide comment
@renatoly

renatoly Aug 27, 2018

Thank you very much, I am looking forward for the next release.

renatoly commented Aug 27, 2018

Thank you very much, I am looking forward for the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment