score:8

Accepted answer

the solidgauge type has its own module that needs to be included, it's not part of the highcharts-more.js file.

as seen in the demo for the solidgauge chart:

files and reference:

score:5

i got the same problem. i fixed adding the following statements

import * as chartmodulemore from 'highcharts/highcharts-more.js';
import hcsoldgauge from 'highcharts/modules/solid-gauge';
import highcharts from 'highcharts'


chartmodulemore(highcharts);
hcsoldgauge(highcharts);

don't forget to add the files references:

  <script src="../node_modules/highcharts/highcharts.js"></script>
  <script src="../node_modules/highcharts/highcharts-more.js"></script>
  <script src="../node_modules/highcharts/modules/solid-gauge.js"></script>

Related Query

More Query from same tag