dontworrywearetogether opened a new issue, #18854:
URL: https://github.com/apache/echarts/issues/18854

   ### Version
   
   5.4
   
   ### Link to Minimal Reproduction
   
   
https://codesandbox.io/embed/basic-line-chart-forked-7mfz5h?fontsize=14&hidenavigation=1&theme=dark
   
   ### Steps to Reproduce
   
   图表是 一个 line 和 一个 pie
   但是 pie的位置总是 不对
   
   grid 的 代码是这个样子的:
   
   '''
     const media = [
       {
         option: {
           grid: [
             {left: "10%",right: "50%",width: "50%",top: "10%",bottom: "10%"},
             { left: "50%", right: "10%", width: "50%", top: "10%", bottom: 
"10%" }
           ]
         }
       },
       {
         query: {
           maxWidth: 768
         },
         option: {
           grid: [
             {left: "10%",right: "10%",top: "10%",bottom: "50%",width: "20%"},
             { left: "10%", right: "10%", top: "50%", bottom: "10%", width: 
"20%" }
           ]
         }
       }
     ];
   
     myChart.setOption({
       option,
       media
     });
   '''
   
   ### Current Behavior
   
   
   ![Uploading image.png…]()
   
   
   ### Expected Behavior
   
   line 和 pie 分别占据图表左右两侧
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - 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