react-apexcharts
react-apexcharts copied to clipboard
`opts` undefined in tooltip for `rangeBar`
I'm trying to render the datapoints in a certain way in the tooltips for this chart, however I can't reliably access the opts object in the tooltip.x.formatter function because it is sometimes undefined. Adding a conditional check does not seem to help.
Relevant code is ~line 70, hover over chart and check console
Is there something I'm doing wrong or is this a bug? There was a similar issue in the vue-apexcharts repo: https://github.com/apexcharts/vue-apexcharts/issues/215
Thanks!