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

Point disappearing after hover #1753

Closed
matiastucci opened this issue Jul 7, 2020 · 6 comments
Closed

Point disappearing after hover #1753

matiastucci opened this issue Jul 7, 2020 · 6 comments
Labels
bug Something isn't working high-priority markers

Comments

@matiastucci
Copy link

matiastucci commented Jul 7, 2020

Bug report

I have a line chart with a few points but only 2 with actual data (price). When I hover the first one and then move the pointer to the next one, the first one disappears and only appears again if I move the cursor near the area where it was.

Gif

2020-07-07 17-41-11 2020-07-07 17_41_44

Codesandbox

https://codesandbox.io/s/awesome-wescoff-742zj?file=/src/App.js

Explanation

  • What is the behavior you expect?
    Never see the point disappearing
  • What is happening instead?
    it's disappearing
  • What error message are you getting?
    none
@junedchhipa junedchhipa added bug Something isn't working markers labels Jul 8, 2020
@junedchhipa
Copy link
Contributor

Thanks for reporting, this will be addressed soon.

@matiastucci
Copy link
Author

👋 sorry, just to know, do you have any ETA in mind? Thanks!

@martinhschei
Copy link

martinhschei commented Jun 14, 2021

Any updates on this issue - i stumpled upon this issue today.

I really like this component and i prefer using ApexCharts over ChartJS - but if there is no fix for this i need to back......

EDIT:

Found this example https://apexcharts.com/vue-chart-demos/line-charts/null-values/ that seems to NOT be affected by this issue - is this an older version or something?

@henrikxberg
Copy link

Found this example https://apexcharts.com/vue-chart-demos/line-charts/null-values/ that seems to NOT be affected by this issue - is this an older version or something?

Now it does. Must have been updated to include the bug at some point during the last 1½ years.
Can't someone look at this, with it being high-priority and all?

@henrikxberg
Copy link

henrikxberg commented Oct 31, 2022

It seems to be caused by moveMarkers() in src/modules/tooltip/Position.js that assumes that if w.globals.markers.size[i] isn't above zero then it can just move around a dynamic marker on index 0. But in this case there are markers so I think it ends up moving around the first marker instead of a dynamic marker.

I have worked around it by setting my marker size to 0.0001 but it is a bit costly.

@ledpup
Copy link

ledpup commented Dec 22, 2024

This appears to be the same bug as #3641

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high-priority markers
Projects
None yet
Development

No branches or pull requests

5 participants