File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -39,16 +39,22 @@ import Vue from 'vue';
39
39
import VueHighcharts from ' vue-highcharts' ;
40
40
import Highcharts from ' highcharts' ;
41
41
42
+ // load these modules as your need
42
43
import loadStock from ' highcharts/modules/stock' ;
43
44
import loadMap from ' highcharts/modules/map' ;
44
45
import loadDrilldown from ' highcharts/modules/drilldown' ;
46
+ // some charts like solid gauge require `highcharts-more.js`, you can find it in official demo.
47
+ import loadHighchartsMore from ' highcharts/highcharts-more' ;
48
+ import loadSolidGauge from ' highcharts/modules/solid-gauge' ;
45
49
46
50
loadStock (Highcharts);
47
51
loadMap (Highcharts);
48
- loadDrillDown (Highcharts);
52
+ loadDrilldown (Highcharts);
53
+ loadHighchartsMore (Highcharts);
54
+ loadSolidGauge (Highcharts);
49
55
50
56
Vue .use (VueHighcharts, { Highcharts });
51
- // Now you can use Highstock, Highmaps and drilldown .
57
+ // Now you can use Highstock, Highmaps, drilldown and solid gauge .
52
58
```
53
59
54
60
Then you can use the components in your template.
You can’t perform that action at this time.
0 commit comments