helgasoft commented on issue #20588:
URL: https://github.com/apache/echarts/issues/20588#issuecomment-2547003406
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...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]