Closed spyx08 closed 5 years ago
HighchartMore(Highchart.Highcharts);
- must be called once. The repeated call has broken my polar charts.
import ReactHighcharts from 'react-highcharts';
import HighchartsMore from 'highcharts/highcharts-more';
HighchartsMore(ReactHighcharts.Highcharts);
That's all you need to do, right? Just making sure because I'm encountering some issue
TypeError: q is not a function
at foo/node_modules/highcharts/highcharts-more.js:8:212
at foo/node_modules/highcharts/highcharts-more.js:11:205
Hi @ardok ! My example https://stackblitz.com/edit/highchartmore?file=HighchartMore.js
@ilyjs
Ah, yeah. Ok.
I forgot that I'm doing SSR. I just needed to only run that HighchartsMore(ReactHighcharts.Highcharts);
if it's in browser side.
Thanks~
Closing and there has been no activity in this issue for a while. if this is still relevant, please feel free to reopen
I've already implemented some charts using react-highcharts without highcharts-more.
A
polar
chart with stacked bar is working fine withouthighcharts-more
.For create a
columnrange
chart it wasn't working without highcharts-more. I've find a solution by usinghighcharts more
from highcharts libraryWhen adding highcharts-more my columnrange works but my polar chart have some trouble on the render of the series (bar proportion and positions) and same issue on my spider-web chart.
the chart was working fine befre adding the highcharts-more and is broken (position of series) with the
highcharts-more
Any idea ?