7inspire commented on issue #11517: markLine的data中坐标轴数值太小时的bug
URL: 
https://github.com/apache/incubator-echarts/issues/11517#issuecomment-568830612
 
 
   it should not be a bug. The MarkLine data precision is 2 defaultly.
   You can use overwrite the precision:
   `
   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 }
                   ],
                   precision: 3
               }
           }
       ]
   };
   `

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to