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

Gauge chart throws error if no yAxis.labels config is provided on styled mode #7906

DiegoCardoso opened this Issue Feb 22, 2018 · 2 comments


None yet
3 participants

DiegoCardoso commented Feb 22, 2018

Expected behaviour

Charts should work if no configuration for yAxis.labels is provided in styled mode. It works if not in styled mode.

Actual behaviour

Chart is not fully display and and error is raised on console:

VM570 highcharts-more.js:22 Uncaught TypeError: Cannot read property 'fontSize' of undefined

Live demo with steps to reproduce

Run the code at:

You can uncomment the rotation code to see it working as expected.

Product version

Tried first for Highcharts 5.0.14 but could also see the same behaviour for 6.0.7.

Affected browser(s)

Tested on Chrome


This comment has been minimized.


pawelfus commented Feb 23, 2018

Hi @DiegoCardoso

Thank you for reporting this bug!

@pawelfus pawelfus added the Bug label Feb 23, 2018


This comment has been minimized.


TorsteinHonsi commented Feb 28, 2018

Original demo with the fix applied:

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