Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello,
I try to create my first custom visual on power pi, using highcharts library
I've tried to install it from npm (npm install), try to use typings (typings install) but when I start my visual, "Hightcharts" is undefined (error on my visual.ts).
Has anyone ever used this library to enrich power bi charts?
Thanks
Solved! Go to Solution.
You could add a let statement as shown below.
let Highcharts = (<any>window).Highcharts;
You could add a let statement as shown below.
let Highcharts = (<any>window).Highcharts;
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |