Skip to content

Commit

Permalink
Corrected the Import for highcharts-custom-events
Browse files Browse the repository at this point in the history
  • Loading branch information
Eddy08 committed Jan 11, 2023
1 parent 8ef6678 commit 0e44569
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/app/map/map.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ import * as worldMap from '@highcharts/map-collection/custom/world-continents.to
declare var require: any;
// const HC_map = require('highcharts/modules/map');
const HC_exporting = require('highcharts/modules/exporting');
const HC_ce = require('highcharts-custom-events');
// const HC_ce = require('highcharts-custom-events');
import custom_events from 'highcharts-custom-events';
const HC_3d = require('highcharts/highcharts-3d');
HC_3d(Highcharts);
// HC_map(Highcharts);

HC_exporting(Highcharts);
HC_ce(Highcharts);
custom_events(Highcharts);

Highcharts.setOptions({
title: {
Expand Down Expand Up @@ -1075,6 +1076,7 @@ export class MapComponent {
id: 'graticule',
type: 'mapline',
data: this.getGraticule(),
//Map Color where the globe is joint
nullColor: 'rgba(0, 0, 0, 0.05)',
accessibility: {
enabled: false,
Expand Down

1 comment on commit 0e44569

@vercel
Copy link

@vercel vercel bot commented on 0e44569 Jan 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

mfe-map – ./

mfe-map-eddy08.vercel.app
mfe-map.vercel.app
mfe-map-git-main-eddy08.vercel.app

Please sign in to comment.