kirjs / react-highcharts

React wrapper for Highcharts library

Home Page:http://kirjs.github.io/react-highcharts/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

highcharts annotations with npm

jk171505 opened this issue · comments

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?

Duplicate of #240