You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2019/11/08 02:12:37 UTC

[GitHub] [incubator-echarts] wjdnlg opened a new issue #11592: 显示折线上任意一点数据(而不是整个坐标系)

wjdnlg opened a new issue #11592: 显示折线上任意一点数据(而不是整个坐标系)
URL: https://github.com/apache/incubator-echarts/issues/11592
 
 
   ### What problem does this feature solve?
   当有两条折线他们数据很相近,但有差异 比如速度时间图 两条折线对比但是只能对比传入点的数据 两个传入点之间的数据获取不到,希望可以传入x轴数据能够根据y=......这样一个函数来计算出y轴的值 实现实时对比功能 
   
   ### What does the proposed API look like?
   Echarts已经实现了获取整个坐标系任意一点的像素转化为坐标convertFromPixel 方法,希望可以只获得折线上的坐标,(当datazoom缩放时,横坐标改变了但是他们的纵坐标并没有变化,也就是说不是显示对应x坐标点的y轴的值 如下图
   ![1571884406(1)](https://user-images.githubusercontent.com/53259799/68443898-3c24d300-0210-11ea-9548-3f2cdeae6292.jpg)
   ![1571887520(1)](https://user-images.githubusercontent.com/53259799/68443904-41821d80-0210-11ea-92f9-6b76f26d4f4e.jpg)
   
   )
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org