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/10/30 13:58:33 UTC

[GitHub] [incubator-echarts] POILover edited a comment on issue #11517: markLine的data中坐标轴数值太小时的bug

POILover edited a comment on issue #11517: markLine的data中坐标轴数值太小时的bug
URL: https://github.com/apache/incubator-echarts/issues/11517#issuecomment-547819931
 
 
   ```js
   option = {     xAxis:  {         type: 'category',         boundaryGap: false,         data: ['周一','周二','周三','周四','周五','周六','周日']     },     yAxis: {         type: 'value',     },     series: [         {             type:'line',             data:[.01, -.02,.02, .05, .03, .002, 0],             markLine: {                 data: [                       { yAxis:0.005 }                 ]             }         }     ] }; 
   ```
   When testing this option, we can see the mark-line is shown on the 0.01 of yAxis, not on 0.005, which should have been there.
   With changing the param of markLine.data.yAxis, like 0.0005, 0.001, 0.006, 0.01, 0.02, we can find echarts just cut the param with rounding at third decimal place.
   Since the yAxis is able to show such precision, why mark-line doesn't deserve this ability?
   
   
   
   
   
   ------------------&nbsp;原始邮件&nbsp;------------------
   发件人: "Yi Shen"<notifications@github.com&gt;; 
   发送时间: 2019年10月30日(星期三) 下午3:43
   收件人: "apache/incubator-echarts"<incubator-echarts@noreply.github.com&gt;; 
   抄送: "312822458"<312822458@qq.com&gt;; "Author"<author@noreply.github.com&gt;; 
   主题: Re: [apache/incubator-echarts] markLine的data中坐标轴数值太小时的bug (#11517)
   
   
   
   
   Hi, can you provide full option for us to reproduce?
    
   —
   You are receiving this because you authored the thread.
   Reply to this email directly, view it on GitHub, or unsubscribe.

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