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

Reference error in 8.1 - Highcharts.SVGRenderer.prototype #13746

Closed
andrewtaylor opened this issue Jun 18, 2020 · 1 comment
Closed

Reference error in 8.1 - Highcharts.SVGRenderer.prototype #13746

andrewtaylor opened this issue Jun 18, 2020 · 1 comment

Comments

@andrewtaylor
Copy link

Expected behaviour

Displaying a pie chart with no data should work when using Highcharts as an import, for example in an Angular application (ie not as a global reference).

Actual behaviour

The fix to #13229 seems to have introduced a global reference to Highcharts which causes the following error in our application when displaying an empty pie chart:

ReferenceError: Can't find variable: Highcharts
    at n.drawEmpty (...)
    at n.redrawPoints (...)
    at n.render (...)

Live demo with steps to reproduce

Open a pie chart with no data in an application that imports Highcharts rather than using a global variable.

Product version

Highcharts 8.1.1+

Affected browser(s)

Tested with Chrome 83.

@highsoft-bot highsoft-bot added this to To do in Development-Flow Jun 18, 2020
@sebastianbochan
Copy link
Contributor

Hi @andrewtaylor ,
Thank you for reporting. The issue has been already reported and fixed on the master branch.

Im closing the ticket as duplicate of #13710

Development-Flow automation moved this from To do to Done Jun 19, 2020
@Izothep Izothep removed this from Done in Development-Flow Jul 15, 2021
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

3 participants