Closed gmalafsky closed 2 years ago
Hello @gmalafsky ,
Sorry for replying so late, but it looks you missed the highcharts-more
module import and initialization. This module is required to load before using solid gauge.
Here is the demo: https://codesandbox.io/s/unruffled-sea-6ol6y
Kind regards!
Thanks. You are correct and leaving out highcharts-more was an oversight. It works properly with following:
import Highcharts from 'highcharts';
import HCExportingInit from 'highcharts/modules/exporting';
import HCOffline from 'highcharts/modules/offline-exporting';
import HCExportData from 'highcharts/modules/export-data';
import HCMore from 'highcharts/highcharts-more'
import HCSolidGauge from 'highcharts/modules/solid-gauge';
HCExportingInit(Highcharts);
HCOffline(Highcharts);
HCExportData(Highcharts);
HCMore(Highcharts);
HCSolidGauge(Highcharts);
Importing module into a Vue component causes Uncaught TypeError when running preventing App from loading.
In browser (Chrome Version 97.0.4692.99 (Official Build) (64-bit) ):
Note solid gauge worked fine in different web application not using Vue with loading via script statements in HTML page.
Commenting out SC lines allows App to run properly.