angular2-highcharts
angular2-highcharts copied to clipboard
use gauge chart in pure typeScript projects
My project is created with pure typeScript and i need to use gauge in my project. When i try to use, i fall in problem and get error #17
.
I found out it will be solved if i use highcharts-more and try to solve with the following instructions:
import * as ChartModuleMore from 'highcharts/highcharts-more';
import * as Highcharts from "highcharts";
ChartModuleMore(Highcharts);
But when i try it, i get the following error:
"/node_modules/@types/highcharts/highcharts-more"' resolves to a non-module entity and cannot be imported using this construct.
package | version |
---|---|
highcharts | 4.2.6 |
types/highcharts | 5.0.19 |
when i try the column chart or any other one that aren't depended to the highcharts-more, every thing is ok and it run right like what i want.
in case anyone is still using this dead library, add this under the import of Highcharts
require('highcharts/highcharts-more')(Highcharts);
Hi were you able to fix this issue