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

Histogram Chart throws exception when all input-values are equal #7825

Closed
fgubler opened this Issue Feb 8, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@fgubler

fgubler commented Feb 8, 2018

Expected behaviour

If all input-values are equal, one single bar should appear

Actual behaviour

An Exception is thrown:
TypeError: a is undefined
[Weitere Informationen]
highcharts.js:23:46
a.correctFloat
https://code.highcharts.com/highcharts.js:23:46
translate
https://code.highcharts.com/highcharts.js:285:288
translate
https://code.highcharts.com/highcharts.js:336:314
renderSeries/<
https://code.highcharts.com/highcharts.js:256:208
forEach self-hosted:271:13 a.each
https://code.highcharts.com/highcharts.js:27:422
renderSeries
https://code.highcharts.com/highcharts.js:256:182
render
https://code.highcharts.com/highcharts.js:258:94
firstRender
https://code.highcharts.com/highcharts.js:260:415
init
https://code.highcharts.com/highcharts.js:236:368
getArgs
https://code.highcharts.com/highcharts.js:235:135
a.Chart
https://code.highcharts.com/highcharts.js:234:431
a.chart
https://code.highcharts.com/highcharts.js:234:498

http://fiddle.jshell.net/_display/:60:1

Live demo with steps to reproduce

http://jsfiddle.net/36n2jysq/5/

Product version

Highcharts 6.0.6

Affected browser(s)

Firefox, Chrome

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