[Bug] Chart Widget Error – Load Charts once
karandatwani92 opened this issue · comments
Using Chart Widget Gives Redeclaration Error!!
Check Demo's Dashboard Page console output.
https://demo.backpackforlaravel.com/admin/dashboard
highcharts.js:10 Uncaught Error: Highcharts error #16: www.highcharts.com/errors/16
at Object.a.error (highcharts.js:10)
at highcharts.js:9
at highcharts.js:10
at highcharts.js:8
at highcharts.js:8
Now that you have mention it, i have also seen it.
The issue here is that we are loading highcharts multiple times.
v4.2 has an Asset Manager that will allow us to solve this easily.
Good news - this will be solved by Laravel-Backpack/CRUD#2652 in 4.2 - automatically