v4.1.0
New features
containerProps
support
Added the ability to pass a containerProps
prop to the root component of a chart. This allows you to set HTML attributes on the container <div>
the chart is rendered in.
Configuring how series data is updated via jsxOptions
When the data
prop on your <Series />
component changes, React JSX Highcharts calls setData
on that series internally.
In some scenarios, you may want to override the the default arguments of setData
such as setting updatePoints
to false when working with large amounts of data in a series.
Example using default options - WARNING - clicking the Green button will crash your browser tab
Example overriding updatePoints
to false
via a jsxOptions
prop on a series
See #281
Bug fixes
Internal changes
- Following current best practice React is imported with
import * as React from 'react'
(see #292) - Updated to Prettier 2 (see #280)
Thanks to @anajavi, @veloek and @lezan for there support in creating this release.