Skip to content

v4.1.0

Compare
Choose a tag to compare
@whawker whawker released this 11 Jun 12:26
· 143 commits to master since this release

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.

See #283 and example

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

  • Fixes #289 where some Tooltip props were not updated properly, see fix in #290

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.