Seeing the below error when trying to render a lollipop chart in react using the highcharts-react-official module. If I change the series type to line it renders fine
ReferenceError: Highcharts is not defined
Example Code:
import Highcharts, {Options} from 'highcharts'
import HighchartsReact from 'highcharts-react-official'
const options: Options = {
chart: {
type: 'lollipop'
},
series: [{
name: 'Example Series',
type: 'lollipop',
data: [10, 20, 50, 30, 100]
}]
}
const ExampleComponent = () => (
<HighchartsReact
highcharts={Highcharts}
options={options}
/>
)