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

[Bug] Emphasis everywhere on live data #20588

Open
GitHubWebStudioMakerPerfect opened this issue Dec 14, 2024 · 5 comments
Open

[Bug] Emphasis everywhere on live data #20588

GitHubWebStudioMakerPerfect opened this issue Dec 14, 2024 · 5 comments
Labels
bug en This issue is in English pending We are not sure about whether this is a bug/new feature.

Comments

@GitHubWebStudioMakerPerfect
Copy link

GitHubWebStudioMakerPerfect commented Dec 14, 2024

Version

Last On Online Editor

Link to Minimal Reproduction

Link to online Apache ECharts editor

Steps to Reproduce & Current Behavior

Sorry, I don't mean to be stressful. This is the second bug post in 3 days.
But, if you move the mouse slowly on the graph you will notice that already with 300 points (even with 100) you get emphasis that is not eliminated.

Is there a way to solve the problem (other than eliminating the points of course)?

I also removed the color gradients to make it thinner, but nothing.

Expected Behavior

The emphasis should go away if you are on top of another point

Environment

- OS: macOS, Windows, Linux (Each one)
- Browser: Mozilla Firefox, Google Chrome, Safari (Each one)
- Framework: NONE

Any additional comments?

When it's zoomed in it's easier than it could possibly happen

@echarts-bot echarts-bot bot added en This issue is in English pending We are not sure about whether this is a bug/new feature. labels Dec 14, 2024
@GitHubWebStudioMakerPerfect GitHubWebStudioMakerPerfect changed the title [Bug] Emphasis everywhere [Bug] Emphasis everywhere on live data Dec 14, 2024
@helgasoft
Copy link

** you get emphasis that is not eliminated**.
Is there a way to solve the problem (other than eliminating the points of course)?

Yes, there is a way to eliminate previous emphasis, but it will work only for live data - Demo

@Adarsh-Dhar
Copy link

hey @GitHubWebStudioMakerPerfect are you talking about the multiple yellow point
Screenshot 2024-12-16 at 03 46 20

@GitHubWebStudioMakerPerfect
Copy link
Author

GitHubWebStudioMakerPerfect commented Dec 16, 2024

@Adarsh-Dhar

hey @GitHubWebStudioMakerPerfect are you talking about the multiple yellow point

Yes. Perceptive. Yellow points are everywhere.
You liked this graph so much that you took a screenshot of it in your browser! (Nice plugins. Very nice that fox.) 😉😝😜

@helgasoft

Yes, there is a way to eliminate previous emphasis, but it will work only for live data - Demo

Bad. Should work even on static data, otherwise it's a mess.

With the code you wrote when the javascript loop that inserts the dots stops I no longer see the emphasis. All disappears into the most extreme nothingness of this supreme universe.

So? Is this a bug?

@helgasoft
Copy link

Let first say/confirm that emphasis works on a static line chart tooltip - example in #20584.
Here, on a dynamic line, the tooltip emphasis works only after moving the mouse. When mouse is motionless and points are added, the X-axis changes, and we see the tooltip.trigger:'axis' doing its job by updating tooltip content. But line point emphasis is not activated for the new tooltip. So I would venture to call it a bug.
It could be fixed in two ways:

  • Add an explanation in API: "Tooltip changes series emphasis on mouseover only."
  • Or update code to activate series' emphasis when tooltip content changes.

OTOH, I do not understand how this dynamic tooltip is useful, especially when data is updated every half-second...

@GitHubWebStudioMakerPerfect
Copy link
Author

GitHubWebStudioMakerPerfect commented Dec 18, 2024

@helgasoft

With all due respect, but I didn't understand anything about the explanation! Maybe because I'm not that into the topic.

Or update code to activate series' emphasis when tooltip content changes.

MMMMM... at this point I would like this bug to be fixed in the next version.
It might seem like a silly thing to you, but the same error is also obtained for graphs updated with 2, 3 seconds (not just 500ms) and everyone could move the mouse on the graph.

Many graphs are updated with a reduced interval and people do not use markers because on many values ​​they graphically create a mess at a visible level, so emphasis is preferable in these cases (I'm not talking about the tooltip. I'm talking about the point itself).
I say this, and until 4 days ago I didn't know about the existence of emphasis.

Add an explanation in API: "Tooltip changes series emphasis on mouseover only."

Sorry, but this is not a fixing.

I'm waiting for the new version and I believe that for a graph (a line that is basically the most used by everyone) nothing is more important than the quality of the display for live data & static data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug en This issue is in English pending We are not sure about whether this is a bug/new feature.
Projects
None yet
Development

No branches or pull requests

3 participants