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/29 08:14:26 UTC
[GitHub] [incubator-echarts] BreatherLeiYu opened a new issue #10380: 使用dataset时 饼图formatter: "{a}
{b} : {c} ({d}%)"}异常显示{c}为[object Object]
BreatherLeiYu opened a new issue #10380: 使用dataset时 饼图formatter: "{a} <br/>{b} : {c} ({d}%)"}异常显示{c}为[object Object]
URL: https://github.com/apache/incubator-echarts/issues/10380
### Version
4.2.1
### Reproduction link
[https://gallery.echartsjs.com/editor.html?c=xy0Z8U-Roj&v=1](https://gallery.echartsjs.com/editor.html?c=xy0Z8U-Roj&v=1)
### Steps to reproduce
option ={"tooltip":{"trigger":"item",formatter: "{a} <br/>{b} : {c} ({d}%)"},"legend":{},"series":[{"type":"pie"}],"dataset":{"dimensions":["df4","eff"],"source":[{"eff":0,"df4":"2018-10-12"},{"eff":0,"df4":"2018-10-15"},{"eff":0,"df4":"2018-10-16"},{"eff":0,"df4":"2018-10-17"},{"eff":0,"df4":"2018-10-18"},{"eff":0,"df4":"2018-10-19"},{"eff":0,"df4":"2018-10-22"},{"eff":0,"df4":"2018-10-23"},{"eff":0,"df4":"2018-10-24"},{"eff":0,"df4":"2018-10-25"}]}}
;
### What is expected?
{c}为具体值
### What is actually happening?
{c}为[object Object]
<!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
----------------------------------------------------------------
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