sxmpasch commented on issue #9251: Problems with Echart Radar
URL: 
https://github.com/apache/incubator-echarts/issues/9251#issuecomment-430948074
 
 
   As you mentioned, you can use formatter in the label:
   - adding just a "%" would be easy:  "formatter": '{c}%'
   - if you want to limit the number of decimals, you have to use a callback:
   ```
   "formatter": function (params, ticket, callback) {
           return parseInt(params.value).toFixed(2)+' %';
       }
   
   ```

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