jspm和highmaps,如何导入?

时间:2016-05-26 16:01:51

标签: highcharts angular jspm highmaps

尝试导入highmaps和jspm,2天但没有运气。

import * as Ng2Highcharts from 'highcharts/modules/map';
Ng2Highcharts(Highcharts);

但是得到一个错误,Ng2Highcharts是一个对象,它是,但我不知道Ng2Highcharts中的哪个方法我需要将Highcharts传递给???

你可以在这里查看我的config.js: https://github.com/born2net/studioDashboard/blob/hot-reload/jspm.config.js

我全班同学: https://github.com/born2net/studioDashboard/blob/hot-reload/src/comps/app1/dashboard/StationsMap.ts

这是debug snap:

enter image description here

非常感谢任何帮助,

肖恩

0 个答案:

没有答案