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 2018/06/14 07:12:09 UTC
[GitHub] wqzwh commented on issue #8495: dataset中的source配置项希望能得到扩展
wqzwh commented on issue #8495: dataset中的source配置项希望能得到扩展
URL: https://github.com/apache/incubator-echarts/issues/8495#issuecomment-397195155
```javascript
source: [{
'product': 'Matcha Latte',
'count': 823,
'score': 235,
},{
'product': 'Matcha Latte',
'count': 823,
'score': 235,
}]
```
这样测试是能够显示的,我希望的是每一项数据指标还能携带额外的数据,以count为例子,如果还需要携带每个count对应的百分比而且这些数据不能再图上直接显示只是tooltip的时候显示。
如果使用series传入data时,就可以实现这样的效果,每次tooltip中可以拿到相应携带的额外数据,如下图:

希望dataset中的source也能支持。
----------------------------------------------------------------
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:
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