apexcharts.js: tooltip.enabledOnSeries doesn't work as expected in irregular timeseries line charts
Bug report
I have found some inconsistent tooltip.enabledOnSeries behavior in irregular timeseries line charts.
Codepen
Minimal working example: https://codesandbox.io/s/vue-basic-example-0ibes?fontsize=14&hidenavigation=1&theme=dark
Explanation
When using tooltip.enabledOnSeries I expect tooltips to be enabled on the series that have the corresponding indices, as specified in the docs. Right now I can’t get it to work in my chart, which is a timeline line chart with different time ranges.
Example values of enabledOnSeries in the Codepen example, and what happens:
enabledOnSeries: []: tooltips disabled for all seriesenabledOnSeries: [0]: tooltips enabled for all seriesenabledOnSeries: [1]: tooltips disabled for all seriesenabledOnSeries: [0, 1]: tooltips enabled for all seriesenabledOnSeries: [1, 2]: tooltips disabled for all series
The key element seems to be if series 0 is included or not, in which case all series get tooltips.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 9
- Comments: 16
I am annoyed at this as well
Just want to chime in, this is currently broken (still or again) for multicharts.
bump
Same problem still exists. In my case it’s not
irregular timeseries line, rather it’s a scatter chart with a line chart.