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/11 05:35:17 UTC

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

quick-sort commented on issue #10248: 使用dataset数据时,series.label.formatter使用function(params){},params.value的值为dataset中所有列,而不是该series对应的那一列的数据
URL: https://github.com/apache/incubator-echarts/issues/10248#issuecomment-481971879
 
 
   > 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}'
   >             }
   >         }]
   > ```
   I am not only want to get a specific dimension, I want to use a function to transform and calculate it, which is specified in API doc. And it doesn't have the correct behavior.

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