Luojinqian opened a new issue #9885: 
使用series[i]-bar.markLine.precision配置,保留两位小数时,我遇到了一些问题
URL: https://github.com/apache/incubator-echarts/issues/9885
 
 
   markLine: {
                   symbol: 'none',
                   silent: true,
                   data: [
                     {yAxis: price[0]},
                     {yAxis: price[1]},
                     {yAxis: price[2]}
                   ],
                   lineStyle: {
                     show: true,
                     color: '#808C94',
                     type: 'dashed'
                   },
                   precision: 2
                   }
   -----------------------------------------------------------------------------
   当我使用上面的markLine时,比如yAxis = 25.000 则标线显示为25,yAxis = 25.10 
时标线则显示25.1,显然这不是我想要保留的精度;
   -- 我理解的 precision: 2 应该是 yAxis = 25.000 标线显示 25.00, yAxis = 25.10 标线显示 yAxis 
= 25.10;

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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