484
Views
1
Comments
[HighChartsComponent] Highcharts Error #16  Highcharts already defined in the page
Question
highchartscomponent
Web icon
Forge asset by The 2 J's
I'm trying to use your simple map in Order Management Dashboard, but it seems it is already defined.

I found this: https://salesforce.stackexchange.com/questions/116886/error-16-loading-highcharts-with-lightning-components

but i don't know where to find highMapDemo.cmp to change it like this <aura:component>
    <ltng:require scripts="/resource/highstock_4_2_3/js/highstock-all.js, /resource/highmaps_4_2_3/js/modules/map.js"
        afterScriptsLoaded="{!c.afterScriptsLoaded}"/>
    <div aura:id="map" style="width:100%; height:400px;"/>
</aura:component>


Is this approach right?
Where can i find highMapDemo.cmp!?

Grazie!
Marinella

2016-04-21 20-09-55
J.
 
MVP
pooh. tough.

please provide a simple oml with the error occuring.
I think you need to prevent loading the OS-charts javascripts..

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.