helgasoft commented on issue #19369:
URL: https://github.com/apache/echarts/issues/19369#issuecomment-1847808359

   I think the problem is not tooltip, but **cursor position**.
   When multiple points have same Y coordinate and very similar (close) X 
coordinates, axis tooltip is different at different cursor positions. And that 
makes sense.
   Right of vertical    |  Left
   :-------------------:|:--------------:
   
![image](https://github.com/apache/echarts/assets/13038071/eeeaf611-f184-4698-be87-10d457867bcd)
 | 
![image](https://github.com/apache/echarts/assets/13038071/66da4fb0-b41a-49ce-93aa-b89619ec7da5)
   
   The solution is to set ```xAxis: { type: 'time', boundaryGap: ['5%', '5%'] 
}``` so both sides of the vertical axis tooltip line are visible at chart's 
edges.
   [Demo 
Code](https://echarts.apache.org/examples/en/editor.html?c=line-simple&code=CYQwLiAEC8kNoChLwIwHYAMKCcBmATBhgGz64AsANJAET7EB0ArBjQLqVKqY647nE--agHJ6zDCI5c46LHhQAORcXL40o8SynUuAej0MjMuekX5yaJmuybG2SdOSyeac-RzZyVSGPuPOZAMjBhMeYncrGzsGBx0wrAiLT28YuKduRPNcJiYKW19xdMDMlCT8bCY0ejTHBDYAbgQEAHsABzAASxaAOxhIAG8uAA8AQWHOgGcALkHILmQAIxaAVx7QACcATwBxEDbZuBEmAFIRUVP45GQwLbaAU1mRLoBbe_OuAF8SrfGp2aG10gtweTwAbiAADYrd5fEpgFotSFdA6DBbAjadADmWPuGyeIAmkw-yG-XEmeM69xm8HRgKBwLuj18kM6PXeJSBoAgs25IE511Z7IAyrdIcz6QzIABjJEtfG-ADE-RQADFRiSpZAAO6dYBgAAWsxQ6NJ6M-XDYCE-DSAA)
   📌 please close issue if problem solved.


-- 
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]

Reply via email to