-
Notifications
You must be signed in to change notification settings - Fork 90
Highcharts error #17
Will Hawker edited this page May 23, 2018
·
1 revision
If this occurs you likely need to add an extra Highcharts module to support the requested series type, this is usually Highcharts more.
import Highcharts from 'highcharts';
import addHighchartsMore from 'highcharts/highcharts-more';
addHighchartsMore(Highcharts);
Alternatively it may be the Heatmap, Treemap, Sankey, or one of these extra modules.
import Highcharts from 'highcharts';
import addHeatmapModule from 'highcharts/modules/heatmap';
import addTreemapModule from 'highcharts/modules/treemap';
addHeatmapModule(Highcharts);
addTreemapModule(Highcharts);
Examples - NPM links: react-jsx-highcharts
| react-jsx-highstock
| react-jsx-highmaps