react-jsx-highcharts
Advanced tools
Comparing version 1.2.4 to 1.2.5
{ | ||
"name": "react-jsx-highcharts", | ||
"version": "1.2.4", | ||
"version": "1.2.5", | ||
"description": "Highcharts charts built using React components", | ||
@@ -5,0 +5,0 @@ "main": "dist/react-jsx-highcharts.min.js", |
@@ -59,2 +59,7 @@ # react-jsx-highcharts | ||
## Upcoming Features | ||
* `<Highcharts3dChart>` component - A helper for 3D charts. | ||
* React 16 support - all features seem to work with beta 3, just need to modify `peerDependencies` and await Enzyme support for React 16 | ||
* Use `React.PureComponent` instead of `Component` | ||
## Goals | ||
@@ -72,3 +77,3 @@ | ||
There are 3 HOCs in this project, [provideChart](https://github.com/whawker/react-jsx-highcharts/blob/master/src/components/ChartProvider/index.js), [provideAxis](https://github.com/whawker/react-jsx-highcharts/blob/master/src/components/AxisProvider/index.js) and [provideSeries](https://github.com/whawker/react-jsx-highcharts/blob/master/src/components/ChartProvider/index.js). | ||
There are 3 HOCs in this project, [provideChart](https://github.com/whawker/react-jsx-highcharts/blob/master/packages/react-jsx-highcharts/src/components/ChartProvider/index.js), [provideAxis](https://github.com/whawker/react-jsx-highcharts/blob/master/packages/react-jsx-highcharts/src/components/AxisProvider/index.js) and [provideSeries](https://github.com/whawker/react-jsx-highcharts/blob/master/packages/react-jsx-highcharts/src/components/SeriesProvider/index.js). | ||
@@ -75,0 +80,0 @@ In the vast majority of cases, there is no need to use these HOCs directly - but they have been exposed anyway - they are useful if you want to create your own components with this library. |
@@ -16,3 +16,3 @@ import React, { Component } from 'react'; | ||
static defaultProps = { | ||
...Highcharts.defaultOptions.tooltip, | ||
...(Highcharts.defaultOptions && Highcharts.defaultOptions.tooltip), | ||
enabled: true | ||
@@ -19,0 +19,0 @@ }; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
506859
9254
89