Skip to content

Supported Features

Will Hawker edited this page Oct 28, 2018 · 6 revisions

For the features not currently "supported" by React JSX Highcharts, you can still pass them as props to the main <HighchartsChart /> or <HighchartsStockChart />.

For example, there is no specific React component for plotOptions but you can pass a prop called plotOptions containing the appropriate JSON configuration to the Chart directly

const plotOptions = {
  series: {
    dataLabels: {
      enabled: true,
      format: '<b>{point.name}</b> ({point.y:,.0f})',
      softConnector: true
    },
    center: ['40%', '50%'],
    neckWidth: '30%',
    neckHeight: '25%',
    width: '80%'
  }
};

<HighchartsChart plotOptions={plotOptions}>
  // etc
</HighchartsChart>

Supported configuration options (as React components)

Highcharts
Highstock
Highmaps