apexcharts.js icon indicating copy to clipboard operation
apexcharts.js copied to clipboard

Tooltip label shows wrong series (always first) where x=0 on Line Charts

Open Reggino opened this issue 2 years ago • 3 comments

Description

Steps to Reproduce

  1. Create a Line chart with multiple series and a tooltip
  2. Hover on the first point of each line (where x = 0)

Expected Behavior

  • Tooltip shows data of the hovered serie

Actual Behavior

  • Tooltip always show data of the first serie, not the hovered one...

Screenshots

image

(Series named "Venlo" is hovered, but "Almere" is shown)

Reggino avatar Jun 08 '22 15:06 Reggino

Please provide the required codepen reproduction app.

brianlagunas avatar Jun 08 '22 15:06 brianlagunas

I have the same issue. The tooltip does not show on the first x point = Jan for the green line = D-drive. See fiddle: https://jsfiddle.net/d3c2vft8/ Is there a way how to fix this?

Patrick-Ol avatar Jul 05 '22 19:07 Patrick-Ol

Is there any update about this issue?

Patrick-Ol avatar Jul 19 '22 14:07 Patrick-Ol

Thanks for the great library. We've made some nice charts so far. But it seems we've run into the same issue as those mentioned above.

I haven't included reproduction as my issue is almost identical to that made by Patrick-OI

image

CaryTannner avatar Dec 28 '22 10:12 CaryTannner