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/04/10 11:30:45 UTC

[GitHub] [incubator-echarts] deqingli commented on issue #10248: 使用dataset数据时,series.label.formatter使用function(params){},params.value的值为dataset中所有列,而不是该series对应的那一列的数据

deqingli commented on issue #10248: 使用dataset数据时,series.label.formatter使用function(params){},params.value的值为dataset中所有列,而不是该series对应的那一列的数据
URL: https://github.com/apache/incubator-echarts/issues/10248#issuecomment-481652491
 
 
   If you want to get the data of  a specific dimension, you can use it as follows, with the [doc](https://www.echartsjs.com/option.html#series-bar.label.formatter): 
   ```js
   series: [
           {
               type: 'bar',
               label: {
                   show: true,
                   formatter: '{b}: {@2015}'
               }
           }]
   ``` 

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