tooltip.enabledOnSeries doesn't work as expected in irregular timeseries line charts
See original GitHub issueBug 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.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:7
- Comments:9
Top Results From Across the Web
Apexcharts doesn't show correct value of x in tooltip
I got the following line chart: let dataCurrent = [ {'x': 'FIRST', 'y': 711} ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just want to chime in, this is currently broken (still or again) for multicharts.
No fix for this? Having the same issue