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

Multiple exception in log console Error: <text> attribute y: Expected length, "NaN" #8834

Closed
ivanmjartan opened this Issue Aug 23, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@ivanmjartan

ivanmjartan commented Aug 23, 2018

We have all negative series in Stacked column chart when we try set yAxis min value for value grater than 0 than graph looks rendered correctly (any items in view) but in console is flooded by exceptions.

I guess thats it looks like bug i not pls how set chart to avoid given ex.

Expected behaviour

No exception in log console

Actual behaviour

Several exceptions in log console

highcharts.js:83 Error: attribute y: Expected length, "NaN".
a.xSetter @ highcharts.js:83
(anonymous) @ highcharts.js:43
a.objectEach @ highcharts.js:28
attr @ highcharts.js:42
align @ highcharts.js:50
setOffset @ highcharts.js:322
translate @ highcharts.js:301
translate @ highcharts.js:354
(anonymous) @ highcharts.js:265
a.each @ highcharts.js:28
renderSeries @ highcharts.js:265
render @ highcharts.js:267
firstRender @ highcharts.js:270
(anonymous) @ highcharts.js:245
a.fireEvent @ highcharts.js:31
init @ highcharts.js:244
getArgs @ highcharts.js:244
a.Chart @ highcharts.js:243
a.chart @ highcharts.js:243
(anonymous) @ (index):39
2highcharts.js:83 Error: attribute y: Expected length, "NaNNaN".
2highcharts.js:83 Error: attribute y: Expected length, "NaNNaNNaN".
..

Live demo with steps to reproduce

https://jsfiddle.net/m7k54px8/31/

Product version

Current

Affected browser(s)

Tested in Chrome

@pawelfus

This comment has been minimized.

Show comment
Hide comment
@pawelfus

pawelfus Aug 24, 2018

Contributor

Hi @ivanmjartan

Thank you for reporting this issue. Issue comes from stackLabels - when disabled, it works fine: https://jsfiddle.net/BlackLabel/m7k54px8/37/

Minified demo: https://jsfiddle.net/BlackLabel/1c8fht32/

Contributor

pawelfus commented Aug 24, 2018

Hi @ivanmjartan

Thank you for reporting this issue. Issue comes from stackLabels - when disabled, it works fine: https://jsfiddle.net/BlackLabel/m7k54px8/37/

Minified demo: https://jsfiddle.net/BlackLabel/1c8fht32/

@pawelfus pawelfus added the Bug label Aug 24, 2018

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