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:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]