highcharts-angular icon indicating copy to clipboard operation
highcharts-angular copied to clipboard

Please Update the highcharts package to the latest version

Open iamkanishka opened this issue 3 years ago • 3 comments

For general tech support, please see www.highcharts.com/support. Please report only issues about highcharts-angular wrapper or content of this repository. For general issues with Highcharts and TypeScript the correct repository to report such issues is main Highcharts repository.

Describe the bug

I have installed latest version of the highcharts angular package, but its throwing the below issue image

and alsoPlease Update the highcharts package to the latest version. image

Expected behavior

A clear and concise description of what you expected to happen.

Demo

Please provide live demo of the problem or provide any other way to recreate the problem.

Steps required to recreate the problem in the demo:

  1. ...

Setup used

  • NodeJS version ... 14.16.0
  • Angular version ... 14.0.0
  • TypeScript version ... 4.8.0 etc.

iamkanishka avatar Apr 12 '23 05:04 iamkanishka

@iamkanishka Did you also install and import the Highcharts as described in docs?

karolkolodziej avatar Apr 12 '23 06:04 karolkolodziej

@iamkanishka Did you also install and import the Highcharts as described in docs?

Hi @karolkolodziej yes I have imported Highcharts image

I'll just brief you out the actual problem, I was using world map from the Highchart from the highchart-angular with angular version of "8.2.14" ,"highcharts": "^9.3.3"and "highcharts-angular": "^2.10.0" ,Everything was working fine then there was a requirement of zooming to particular country with country ID(ex: 'IN' (india) ) so tried with the mapInstance which I got from chartInstance output decorator like in the below image, image

image

image

but the zoomTo( ) function was throwing below error image Then i thought of updating the laterst version of highcharts and highcharts-angular a with angular as well to the version 14, thinking that latest version of highcharts and highcharts-angular wont be compaitible with 8 , so i did that and start my angular application, then the Uncaught Referenceerror : Highcharts is not Defiend Error popped up and the whole application got stuck on booting up

iamkanishka avatar Apr 13 '23 18:04 iamkanishka

Hi @iamkanishka,

Would you be able to send a demo presenting the problem, e.g. in stackblitz? It's hard to tell what's wrong just from the description, I lack context. (If it makes it easier for you, you can use this basic demo.)

Thanks!

ddragula avatar Apr 24 '23 11:04 ddragula