echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Bug] Pie Chart -variables {c} in tooltip formatter (string template) is unexpected

Open jay0815 opened this issue 3 years ago • 1 comments

Version

5.3.3

Link to Minimal Reproduction

https://echarts.apache.org/examples/zh/editor.html?c=pie-simple&code=PYBwLglsB2AEC8sDeAoWsAmBDMWDOApmAFzJrqwD0lmEAtgdHlE6QNoDkAblgDYCuBDgBpYHaFgYcAusPLo8wfgCcAxgXbyKbAIwAGACwAOURwDKBLGoAWsAKLQA5hGhDZW9GwDsAZgCspgAiEMoEqmAychTafkZ6pnZ0WBC8kR6wbMYGpgCq0CywAIIYeGnRnj568WIAahAYBMBFJWUUsujkAL5RsJBgvBpk0WAEAB4kYgBKBABmBKHKsMAzsFiwAOoEAEbMIyJaePxbI-OkHABiWADWBLCBOFj70QMzExzq0CPKHF09YMDAXiQECkVDDZQQRyOeZnCAjOg_dDdcgDaHQDCgrTACGMN5ceaQVR8J4UF5vMmI2DIhTzCAEPCY8qwCQMM6FVTqPB4WDnZTABE9YYATxAgw4IDpJOeWC2BF4jKZsDw1mAAHdSGBlIJ0tTyoxVMAGgqmTwBIN4ul0HCCHQAHKSQY6QUUXXDAFAiAgoaKmbYpJgL5nLCgrCdWAAHi2ykoAD5YFtQVtOpHo3HVKDVMmo7HMKCMJ1KdFOlpi50ANxAA

Steps to Reproduce

  1. use options in Minimal Reproduction Link.
  2. get the same result: try to use dimensions option 、encode option or whatever.

Current Behavior

{c} return the value which is concat the local row in dataset image

Expected Behavior

expect use dataset can behavior like data in series {c} return the data that which define as value in dimensions or encode image

Environment

- OS:macOS Monterey
- Browser: Chrome 96.0.4664.55
- Framework: None

Any additional comments?

image

if this repo is not bug, the description in doc need be more exact

jay0815 avatar Jun 23 '22 11:06 jay0815

This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.

github-actions[bot] avatar Jun 22 '24 21:06 github-actions[bot]

This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!

github-actions[bot] avatar Jun 30 '24 21:06 github-actions[bot]