Skip to content

Higher Order Components provideSeries (v2 and below)

Will Hawker edited this page May 30, 2018 · 1 revision

provideSeries (v2 and below)

Note A component wrapped with this HOC must be rendered with a seriesId prop - referring to the id of the series you wish to interact with.

This HOC injects the following props:

  • getSeries - Returns the Highcharts series instance
  • getChart - Returns the Highcharts chart instance
  • get - The Chart.get method, properly scoped to the chart instance

It also exposes Highcharts Series methods directly properly scoped to the series instance