The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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;