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 2021/07/26 08:57:42 UTC

[GitHub] [echarts] POILover commented on issue #11440: yAxis and markLine series

POILover commented on issue #11440:
URL: https://github.com/apache/echarts/issues/11440#issuecomment-886512490


   @nngocan412 I opened a similar issue #11517 after this comment and got an effective solution, although they may have added another enhancement. You can use 'precision' option, like 'precision:3', to custom the precision you want.
   Complete option:
   `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.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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