All Projects → kirjs → React Highcharts

kirjs / React Highcharts

Licence: mit
React wrapper for Highcharts library

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to React Highcharts

Aachartcore Kotlin
📈📊⛰⛰⛰An elegant modern declarative data visualization chart framework for Android . Extremely powerful, supports line, spline, area, areaspline, column, bar, pie, scatter, angular gauges, arearange, areasplinerange, columnrange, bubble, box plot, error bars, funnel, waterfall and polar chart types.极其精美而又强大的 Android 数据可视化图表框架,支持柱状图、条形图、折线图、曲线图、折线填充图、曲线填充图、气泡图、扇形图、环形图、散点图、雷达图、混合图等各种类型的多达几十种的信息图图表,完全满足工作所需.
Stars: ✭ 332 (-73.38%)
Mutual labels:  highcharts
Chartkick
Create beautiful JavaScript charts with one line of Ruby
Stars: ✭ 5,903 (+373.38%)
Mutual labels:  highcharts
Storm Camel Example
Real-time analysis and visualization with Storm-AMQ-Camel-Websockets-Highcharts integration.
Stars: ✭ 28 (-97.75%)
Mutual labels:  highcharts
Angular2 Highcharts
📊 📈 Highcharts for your Angular project
Stars: ✭ 393 (-68.48%)
Mutual labels:  highcharts
Highcharter
R wrapper for highcharts
Stars: ✭ 583 (-53.25%)
Mutual labels:  highcharts
Chartkick.py
Create beautiful Javascript charts with minimal code
Stars: ✭ 695 (-44.27%)
Mutual labels:  highcharts
Gochart
A chart plotting tool implemented by Golang and Highcharts.
Stars: ✭ 293 (-76.5%)
Mutual labels:  highcharts
Easychart
A visual editor for the world's best web charting tool: Highcharts.
Stars: ✭ 45 (-96.39%)
Mutual labels:  highcharts
Jimureport
积木报表,是一款免费的企业级低代码报表!类似于excel操作风格,在线拖拽完成报表设计!功能涵盖: 报表设计、图形报表、打印设计、大屏设计等,永久免费!领先的企业级Web报表软件,采用纯Web在线技术,专注于解决企业报表快速制作难题。
Stars: ✭ 598 (-52.04%)
Mutual labels:  highcharts
Chartkit
Angular + Highcharts Integration
Stars: ✭ 13 (-98.96%)
Mutual labels:  highcharts
Vue Highcharts
📊 Highcharts component for Vue
Stars: ✭ 401 (-67.84%)
Mutual labels:  highcharts
Aachartkit
📈📊🚀🚀🚀An elegant modern declarative data visualization chart framework for iOS, iPadOS and macOS. Extremely powerful, supports line, spline, area, areaspline, column, bar, pie, scatter, angular gauges, arearange, areasplinerange, columnrange, bubble, box plot, error bars, funnel, waterfall and polar chart types. 极其精美而又强大的跨平台数据可视化图表框架,支持柱状图、条形图、折…
Stars: ✭ 4,358 (+249.48%)
Mutual labels:  highcharts
Highcharts More
Universal highcharts-more module for the popular JavaScript charting framework Highcharts
Stars: ✭ 7 (-99.44%)
Mutual labels:  highcharts
Redispapa
another redis monitor by using flask, angular, socket.io
Stars: ✭ 389 (-68.81%)
Mutual labels:  highcharts
Highcharts China Geo
Highcharts 中国地图,Highcharts 中国省市地图,Highcharts China Map,南海诸岛geo
Stars: ✭ 29 (-97.67%)
Mutual labels:  highcharts
React Jsx Highcharts
Highcharts built with proper React components
Stars: ✭ 336 (-73.06%)
Mutual labels:  highcharts
Justpy
An object oriented high-level Python Web Framework that requires no frontend programming
Stars: ✭ 689 (-44.75%)
Mutual labels:  highcharts
Highcharts trendline
HighCharts demo of scatter plot, including a trend line
Stars: ✭ 79 (-93.66%)
Mutual labels:  highcharts
Laravel Highcharts
Laravel 5 Highcharts Package
Stars: ✭ 31 (-97.51%)
Mutual labels:  highcharts
React Highcharts Example
Simple create-react-app with highcharts example
Stars: ✭ 16 (-98.72%)
Mutual labels:  highcharts

react-highcharts

Build Status

Highcharts 6.x.x component for react. For highcharts 5.x.x use v. 13.0.0

Demos

react-highcharts | react-highcharts/more | react-highcharts/highstock | react-highcharts/highmaps

You can also see Code for the demo and run demo locally

Installation

npm install react-highcharts --save

Licensing

The React-Highcharts repository itself is MIT licensed, however note that this module is dependent on Highcharts.js. For commercial use, you need a valid Highcharts license.

Usage

Webpack/Browserify

npm install react-highcharts highcharts react --save
const React = require('react');
const ReactDOM = require('react-dom');

const ReactHighcharts = require('react-highcharts'); // Expects that Highcharts was loaded in the code.

const config = {
  /* HighchartsConfig */
};

ReactDOM.render(<ReactHighcharts config = {config}></ReactHighcharts>, document.body);

Optional after-render callback

const afterRender = (chart) => { /* do stuff with the chart  */ };
<ReactHighcharts config = {config} callback = {afterRender}></ReactHighcharts>

Passing properties to the wrapping DOM element

<ReactHighcharts config = {config} domProps = {{id: 'chartId'}}></ReactHighcharts>

Accessing Highcharts API After Render

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:

class MyComponent extends React.Component {
  componentDidMount() {
    let chart = this.refs.chart.getChart();
    chart.series[0].addPoint({x: 10, y: 12});
  }

  render() {
    return <ReactHighcharts config={config} ref="chart"></ReactHighcharts>;
  }
}

Limiting Highchart Rerenders

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.

Rendering on the server with node

See this recipe

Using highmaps (demo)

const ReactHighmaps = require('react-highcharts/ReactHighmaps');

Using highstock (demo)

const ReactHighstock = require('react-highcharts/ReactHighstock')

Using highcharts modules/add-ons like exporting, data, etc. (demo)

Use highcharts-more npm package.

const ReactHighcharts = require('react-highcharts')
require('highcharts-more')(ReactHighcharts.Highcharts)

You can find the full list here

Passing Highcharts instance manually

const ReactHighcharts = require('react-highcharts').withHighcharts(ReactHighstock)

For Contributors

Running tests

Run npm test

Running demo

git clone https://github.com/kirjs/react-highcharts.git
cd react-highcharts && npm install
npm run demo

Point your browser at http://localhost:8080

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].