kirjs / react-highcharts

React wrapper for Highcharts library
http://kirjs.github.io/react-highcharts/
MIT License
1.26k stars 233 forks source link

highcharts annotations with npm #379

Closed jk171505 closed 6 years ago

jk171505 commented 6 years ago

I'm trying to make such configuration work: http://jsbin.com/foyawejoca/edit?html,js,output

but with modules installed via npm: import React from 'react'; import ReactHighcharts from 'react-highcharts'; import annotations from 'highcharts-annotations'; ... return <div> <ReactHighcharts config={_mergedConfig}/> </div>

For some reason this doesn't work... How this should be configured?

ilyjs commented 6 years ago

Duplicate of #240