apexcharts / react-apexcharts

📊 React Component for ApexCharts
https://apexcharts.com
MIT License
1.3k stars 151 forks source link

Not shared tooltips don't work #68

Open mitom opened 5 years ago

mitom commented 5 years ago

When setting tooltips explicitly to not be shared, tooltips just no longer show up at all. To demonstrate: https://codesandbox.io/s/ze7g2

I've also tried setting intersect to see if it helps, but it doesn't seem to make any difference. Any ideas?

speedyankur commented 5 years ago

It is working fine as expected.

Actually, you did a small mistake while defining your series, There is no need to define TYPE for your series.

https://codesandbox.io/embed/react-basic-example-ul10p

mitom commented 5 years ago

Thank you for the response. You are correct it does work in the scenario where there are only line types involved. The reason why in my example type was defined was because they are generated and can be mixed types.

I took the mixed type example from the docs and tried if it still works: https://codesandbox.io/s/react-basic-example-xmhni

It has tooltips for the columns, but doesn't for either area or line. Removing the type from the line doesn't make a difference either.

github-actions[bot] commented 5 days ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.