Search Posts

Author: i1zivkovic

Angular4 with highcharts can’t use world.js

I need help with getting my highmap in angular4 app. I installed highcharts using npm. I included highcharts in my app.component.ts like this because I had some errors that this way solves (maybe it is the wrong way) : const Highcharts = require(‘highcharts’); require(‘highcharts/highcharts-more’)(Highcharts); require(‘highcharts/modules/solid-gauge’)(Highcharts); require(‘highcharts/modules/map’)(Highcharts); require(‘highcharts/modules/data’)(Highcharts); require(‘highcharts/js/modules/world’)(Highcharts); After that I can use Highcharts for creating the charts without any problems but the problem is that when I want to create a map using Highcharts.js […]