echarts-bot[bot] commented on issue #19917:
URL: https://github.com/apache/echarts/issues/19917#issuecomment-2103785045

   @Corps-Yan It seems you are not using English, I've helped translate the 
content automatically. To make your issue understood by more people and get 
helped, we'd like to suggest using English next time. 🤗
   <details><summary><b>TRANSLATED</b></summary><br>
   
   **TITLE**
   
   [Bug] The dataset data with the same name overlaps, and the tooltip 
formatter string template cannot access the dataset data
   
   **BODY**
   
   ### Version
   
   5.5.0
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/examples/zh/editor.html
   
   ### Steps to Reproduce
   
   
![image](https://github.com/apache/echarts/assets/29565088/0ea6a1e1-5127-453a-9131-baa5f1ea63bd)
   
   
   ### Current Behavior
   
   option = {
     legend: {},
     tooltip: {
       formatter: '@{product} @{2015} {c0}'
     },
     dataset: {
       // Provide a copy of the data.
       source: [
         ['product', '2015', '2016', '2017'],
         ['Matcha Latte', 43.3, 85.8, 93.7],
         ['Milk Tea', 83.1, 73.4, 55.1],
         ['Milk Tea', 83.1, 73.4, 55.1],
         ['Cheese Cocoa', 86.4, 65.2, 82.5],
         ['Walnut Brownie', 72.4, 53.9, 39.1]
       ]
     },
     //Declare an X-axis, category axis. By default, the category axis 
corresponds to the first column of the dataset.
     xAxis: { type: 'category' },
     // Declare a Y axis, a value axis.
     yAxis: {},
     // Declare multiple bar series. By default, each series will automatically 
correspond to each column of the dataset.
     series: [{ type: 'bar' }]
   };
   
   ### Expected Behavior
   
   1. The tooltip string template can obtain the data of the data set normally.
   2. The dataset solves this overlapping bug
   
   ### Environment
   
   ```markdown
   OS: Windows 10 x86_64
   Host: System manufacturer
   Kernel: 10.0.19045
   Uptime: 1 day, 2 hours, 7 minutes
   Packages: 2 (scoop)
   Shell: bash 4.4.23
   Resolution: 1920x1200, 1920x1080
   DE:Aero
   WM: Explorer
   WM Theme: Custom
   CPU: Intel i5-6500 (4) @ 3.200GHz
   GPU: Caption
   GPU: OrayIddDriver Device
   GPU: Intel(R) HD Graphics 530
   GPU: NVIDIA GeForce GTX 1050 Ti
   GPU
   Memory: 15954MiB / 24431MiB
   ```
   
   
   ### Any additional comments?
   
   _No response_
   </details>


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to