Gathering detailed insights and metrics for react-highcharts
Gathering detailed insights and metrics for react-highcharts
Gathering detailed insights and metrics for react-highcharts
Gathering detailed insights and metrics for react-highcharts
highcharts-react-official
Official minimal [Highcharts](https://www.highcharts.com/) integration for React.
@types/react-highcharts
TypeScript definitions for react-highcharts
highcharts-more
highcharts-more module for react Highcharts. This package is generated based on highcharts v0.1.7
react-jsx-highcharts
Highcharts charts built using React components
npm install react-highcharts
Typescript
Module System
Node Version
NPM Version
JavaScript (99.65%)
Shell (0.35%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
1,254 Stars
378 Commits
232 Forks
24 Watchers
115 Branches
30 Contributors
Updated on Jul 15, 2025
Latest Version
16.1.0
Package Id
react-highcharts@16.1.0
Size
2.25 MB
NPM Version
6.9.0
Node Version
12.4.0
Published on
Sep 23, 2019
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
29
Highcharts 6.x.x component for react. For highcharts 5.x.x use v. 13.0.0
react-highcharts | react-highcharts/more | react-highcharts/highstock | react-highcharts/highmaps
You can also see Code for the demo and run demo locally
1npm install react-highcharts --save
1npm install react-highcharts highcharts react --save
1const React = require('react'); 2const ReactDOM = require('react-dom'); 3 4const ReactHighcharts = require('react-highcharts'); // Expects that Highcharts was loaded in the code. 5 6const config = { 7 /* HighchartsConfig */ 8}; 9 10ReactDOM.render(<ReactHighcharts config = {config}></ReactHighcharts>, document.body);
1const afterRender = (chart) => { /* do stuff with the chart */ }; 2<ReactHighcharts config = {config} callback = {afterRender}></ReactHighcharts>
1<ReactHighcharts config = {config} domProps = {{id: 'chartId'}}></ReactHighcharts>
For access to methods & properties from the Highcharts library you can use ReactHighcharts.Highcharts
.
For example, the Highcharts options are available via ReactHighcharts.Highcharts.getOptions()
.
Highcharts provides an API for manipulating a chart after the initial render. See the Methods and Properties in the documentation. Here's how you access it:
1class MyComponent extends React.Component { 2 componentDidMount() { 3 let chart = this.refs.chart.getChart(); 4 chart.series[0].addPoint({x: 10, y: 12}); 5 } 6 7 render() { 8 return <ReactHighcharts config={config} ref="chart"></ReactHighcharts>; 9 } 10}
Rerendering a highcharts graph is expensive. You can pass in a isPureConfig
option to the ReactHighcharts
component, which will keep the highcharts graph from being updated so long as the provided config
is referentially equal to its previous value.
There is also neverReflow
property.
See this recipe
1const ReactHighmaps = require('react-highcharts/ReactHighmaps');
1const ReactHighstock = require('react-highcharts/ReactHighstock')
Use highcharts-more
npm package.
1const ReactHighcharts = require('react-highcharts') 2require('highcharts-more')(ReactHighcharts.Highcharts)
You can find the full list here
1const ReactHighcharts = require('react-highcharts').withHighcharts(ReactHighstock)
Run npm test
1git clone https://github.com/kirjs/react-highcharts.git 2cd react-highcharts && npm install 3npm run demo
Point your browser at http://localhost:8080
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 8/11 approved changesets -- score normalized to 7
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
150 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More