You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2019/07/04 09:03:41 UTC

[GitHub] [incubator-echarts] jiaqizhang77 opened a new issue #10804: xAxis.axisLabel.formatter使用函数失效

jiaqizhang77 opened a new issue #10804: xAxis.axisLabel.formatter使用函数失效
URL: https://github.com/apache/incubator-echarts/issues/10804
 
 
   在使用xAxis.axisLabel.formatter时,使用
   `formatter: '{value} kg'`可以生效。
   但是使用
   `formatter: function(value, index){
                   return value +“kg” ;
                 },`函数会失败
   
   因为需要在函数中处理数据,请问这个是bug吗?
   ![image](https://user-images.githubusercontent.com/31381135/60653618-f8464980-9e7c-11e9-92b8-9e6642df031c.png)
   
   
   
   

----------------------------------------------------------------
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: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org