Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tooltip.enabledOnSeries doesn't work as expected in irregular timeseries line charts #1339

Closed
oherik opened this issue Feb 26, 2020 · 21 comments · Fixed by Plant-for-the-Planet-org/planet-webapp#2243 · 4 remaining pull requests
Closed

tooltip.enabledOnSeries doesn't work as expected in irregular timeseries line charts #1339

oherik opened this issue Feb 26, 2020 · 21 comments · Fixed by Plant-for-the-Planet-org/planet-webapp#2243 · 4 remaining pull requests
Labels
bug Something isn't working tooltip

Comments

@oherik
Copy link

oherik commented Feb 26, 2020

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 series
  • enabledOnSeries: [0]: tooltips enabled for all series
  • enabledOnSeries: [1]: tooltips disabled for all series
  • enabledOnSeries: [0, 1]: tooltips enabled for all series
  • enabledOnSeries: [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.

@guillept
Copy link

@junedchhipa Is there any solution for this issue? I'm having the same problem: https://codepen.io/guille_pt/pen/vYNXpbL

@thellimist
Copy link

Same problem still exists. In my case it's not irregular timeseries line, rather it's a scatter chart with a line chart.

@www-chique
Copy link

Same here

@github-actions
Copy link

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.

@elad-eyal
Copy link

@junedchhipa this is still replicated for many including us in latest version. can the issue be re-opened? (and hopefully fixed). thanks

@hillcjames
Copy link

hillcjames commented Aug 23, 2022

Just want to chime in, this is currently broken (still or again) for multicharts.

@SDIjeremy
Copy link

Still broken

@hauard
Copy link

hauard commented Dec 20, 2022

No fix for this? Having the same issue

@functionpointer
Copy link

I am annoyed at this as well

@Jasper992
Copy link

push (working with apexcharts react)

@B-o-s-s-e
Copy link

Any update on this?

@quiquelhappy
Copy link

bump

@c0rnonthec0bb
Copy link

Same here @junedchhipa

@SaswatPadhi
Copy link

Same here. Any plans on fixing this?

@mbnewsom
Copy link

bump

1 similar comment
@taonhannguyen
Copy link

bump

@AdamRidley
Copy link

This bug still exists, the issue needs to be reopened.

@vegetablesalad
Copy link

So is this a issue that is still not resolved 4 years later ?
I just stumbled upon the same result.

@jdegger
Copy link

jdegger commented Jul 30, 2024

As this issue is not being reopened, I have created a new one:

#4597

@junedchhipa junedchhipa reopened this Jul 30, 2024
@junedchhipa junedchhipa added bug Something isn't working tooltip and removed no-issue-activity labels Jul 30, 2024
@jdegger
Copy link

jdegger commented Aug 1, 2024

@junedchhipa thanks for reopening!

Another reproduction link as mentioned in this issue still works:

https://codepen.io/guille_pt/pen/vYNXpbL

@jdegger
Copy link

jdegger commented Aug 1, 2024

@brianlagunas the requested reproduction link posted above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment