wyx-scottwu opened a new issue, #17973:
URL: https://github.com/apache/echarts/issues/17973

   ### Version
   
   4.9.6
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   操作:配置dataZoom-inside 后,操作mac触摸板使其缩放,在放大还原后渲染错误
   
   
错误效果图:![image](https://user-images.githubusercontent.com/76274187/203885603-5754e832-eb78-4c5e-84f2-da9610b48218.png)
   
   正常渲染效果图:
   
![image](https://user-images.githubusercontent.com/76274187/203886036-c17bee23-5f97-4ba2-af67-719084d7e98a.png)
   
   我的option配置:
   ```json
   {
     "color": [
         "#90cb75",
         "#5470c6"
     ],
     "title": {
         "text": "实时数据{sub|(过去24小时)}",
         "textStyle": {
             "rich": {
                 "sub": {
                     "color": "#777",
                     "verticalAlign": "bottom"
                 }
             }
         }
     },
     "tooltip": {
         "trigger": "axis"
     },
     "legend": {
         "data": [
             "支付订单数",
             "含税销售额"
         ],
         "itemHeight": 4,
         "icon": "rect"
     },
     "grid": {
         "left": "3%",
         "right": "4%",
         "bottom": "3%",
         "containLabel": true
     },
     "xAxis": {
         "type": "category",
         "boundaryGap": false,
         "data": [
             "02:00",
             "03:00",
             "04:00",
             "05:00",
             "06:00",
             "07:00",
             "08:00",
             "09:00",
             "10:00",
             "11:00",
             "12:00",
             "13:00",
             "14:00",
             "15:00",
             "16:00",
             "17:00",
             "18:00",
             "19:00",
             "20:00",
             "21:00",
             "22:00",
             "23:00",
             "00:00",
             "01:00"
         ]
     },
     "yAxis": [
         {
             "name": "支付订单数",
             "type": "value",
             "nameTextStyle": {
                 "color": "#90cb75",
                 "align": "center"
             },
             "axisLine": {
                 "lineStyle": {
                     "color": "#90cb75"
                 }
             }
         },
         {
             "name": "含税销售额",
             "type": "value",
             "nameTextStyle": {
                 "color": "#5470c6",
                 "align": "center"
             },
             "axisLine": {
                 "lineStyle": {
                     "color": "#5470c6"
                 }
             }
         }
     ],
     "series": [
         {
             "name": "支付订单数",
             "type": "line",
             "stack": "支付订单数",
             "yAxisIndex": 0,
             "smooth": true,
             "data": [
                 1,
                 0,
                 0,
                 0,
                 0,
                 1,
                 2,
                 6,
                 9,
                 6,
                 5,
                 3,
                 4,
                 3,
                 0,
                 4,
                 4,
                 5,
                 3,
                 2,
                 1,
                 0,
                 363,
                 12
             ]
         },
         {
             "name": "含税销售额",
             "type": "line",
             "stack": "含税销售额",
             "yAxisIndex": 1,
             "smooth": true,
             "data": [
                 629.98,
                 0,
                 0,
                 0,
                 0,
                 539.98,
                 526.75,
                 1698.7,
                 5047.9,
                 1445.09,
                 1719.32,
                 1590.42,
                 676.94,
                 1611.91,
                 0,
                 569.14,
                 1429.93,
                 1244.91,
                 706.75,
                 419.97,
                 69.99,
                 0,
                 153930.42,
                 4705.73
             ]
         }
     ],
     "dataZoom": [
         {
             "start": 0,
             "type": "inside"
         }
     ]
   }
   ```
   
   ### Current Behavior
   
   操作:配置dataZoom-inside 后,操作mac触摸板使其缩放,在放大还原后渲染错误
   
   
错误效果图:![image](https://user-images.githubusercontent.com/76274187/203885603-5754e832-eb78-4c5e-84f2-da9610b48218.png)
   
   ### Expected Behavior
   
   在缩放后正确渲染图表
   如下:
   
![image](https://user-images.githubusercontent.com/76274187/203886036-c17bee23-5f97-4ba2-af67-719084d7e98a.png)
   
   
   ### Environment
   
   ```markdown
   - OS: macOS Monterey 12.6
   - Browser: Chrome 版本 107.0.5304.110(正式版本) (arm64)
   - Framework: [email protected]
   ```
   
   
   ### 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