I'm adding the reference through requireJS
Code: Select all
define(
[
'angular',
'require',
'moment-timezone',
'../services/highmaps.js'+modifier,
'../js/highcharts.js'+modifier
]
Code: Select all
Highcharts.mapChart()
Code: Select all
TypeError: Highcharts.mapChart is not a function
Checking
Code: Select all
Highcharts
Code: Select all
{product: 'Highcharts', version: '6.2.0', deg2rad: 0.017453292519943295, doc: document, hasBidiBug: false, …}
Code: Select all
mapChart
I've got highcharts.js included in this page also (through the master template that I have no control over). Does that have any bearing on it? Is it not finding the right
Code: Select all
Highcharts
Thanks