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