Skip to content
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

Funnel chart in styled mode is blank if one point label needs to be cropped #8801

Closed
DiegoCardoso opened this issue Aug 17, 2018 · 5 comments

Comments

@DiegoCardoso
Copy link

This is a regression introduced in 6.1.0.

I first saw it while using a Funnel chart, but I believe it can also happen to other types as the error is being thrown from highcharts.js/highstock.js.

Expected behaviour

If I have a Funnel chart with labels that are to wide to fit, I expect it to be cropped so it fits in the available area.

Actual behaviour

Chart is blank (only title is displayed) and an error Uncaught TypeError: Cannot read property 'textOverflow' of undefined is raised in console.

Live demo with steps to reproduce

https://jsfiddle.net/7fnbLd85/1/

You can switch to 6.0.7 version to see it working.

Product version

Highcharts/Highstock 6.1.0+

Affected browser(s)

Tested in Chrome and IE11

@sebastianbochan
Copy link
Contributor

sebastianbochan commented Aug 17, 2018

Hi @DiegoCardoso,
Thank you for reporting. The issue is already reported here: #8666.

@DiegoCardoso
Copy link
Author

Hi, you have linked to this very same issue 😅

@DiegoCardoso
Copy link
Author

Hello, @sebastianbochan

Could you update your comment to point to the original issue, please? I would like to follow it.

@sebastianbochan
Copy link
Contributor

Hi @DiegoCardoso,
Sorry for my bad, I added incorrect reference to the main issue, by accident.

@DiegoCardoso
Copy link
Author

No probs. Thanks for the update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants