kangTaehee opened a new issue #16742:
URL: https://github.com/apache/echarts/issues/16742


   ### Version
   
   5.3.1
   
   ### Link to Minimal Reproduction
   
   
https://codesandbox.io/s/echart-series-update-sample-1umueh?file=/src/index.js
   
   ### Steps to Reproduce
   
   1. Data from 2011 to 2013 will be set.
   ```
   series: [
       {
         type: "pictorialBar",
         name: "2011bar",
         symbol: walk,
         symbolSize: symbolSizes,
         z: 10,
         barGap: "-100%",
         symbolPosition: "end",
         symbolOffset: ["-30", "-22"],
         data: [70, 60, 60, 60]
       },
       {
         type: "pictorialBar",
         name: "2012bar",
         symbol: walk,
         symbolSize: symbolSizes,
         z: 10,
         barGap: "-100%",
         symbolPosition: "end",
         symbolOffset: ["0%", "-22"],
         data: [60, 60, 60, 60]
       },
       {
         type: "pictorialBar",
         name: "2013bar",
         symbol: walk,
         symbolSize: symbolSizes,
         z: 10,
         barGap: "-100%",
         symbolPosition: "end",
         symbolOffset: ["30", "-22"],
         data: [60, 60, 60, 60]
       },
       {
         type: "bar",
         name: "2011",
         barWidth: 20,
         data: [70, 60, 60, 60]
       },
       {
         type: "bar",
         name: "2012",
         barGap: "0%",
         barWidth: 20,
         data: [60, 60, 60, 60]
       },
       {
         type: "bar",
         name: "2013",
         barGap: "50%",
         barWidth: 20,
         data: [60, 60, 60, 60]
       }
     ]
   ```
   3. Data will decrease from 2011 to 2012.
   ```series: [
         {
           type: "pictorialBar",
           name: "2011bar",
           symbol: walk,
           symbolSize: symbolSizes,
           z: 10,
           barGap: "-100%",
           symbolPosition: "end",
           symbolOffset: ["-30", "-22"],
           data: [50, 50]
         },
         {
           type: "pictorialBar",
           name: "2012bar",
           symbol: walk,
           symbolSize: symbolSizes,
           z: 10,
           barGap: "-100%",
           symbolPosition: "end",
           symbolOffset: ["0%", "-22"],
           data: [50, 50]
         },
         {
           type: "bar",
           name: "2011",
           barWidth: 20,
           data: [50, 50]
         },
         {
           type: "bar",
           name: "2012",
           barGap: "0%",
           barWidth: 20,
           data: [50, 50]
         }
       ]
   ```
   4. Data for 2013 will not disappear.
   
   ### Current Behavior
   
   1. series data default setting.
   2. change button click
   3. series data update
   
   ### Expected Behavior
   
   Series "2013" data should be removed.
   
   ### Environment
   
   ```markdown
   - OS:window
   - Browser: chrome
   - Framework:
   ```
   
   
   ### Any additional comments?
   
   _No response_


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