You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "rafalrat (via GitHub)" <gi...@apache.org> on 2023/05/05 06:31:13 UTC

[GitHub] [echarts] rafalrat commented on issue #18591: [Bug] MarkArea gets cut off while scrolling in zoomed mode

rafalrat commented on issue #18591:
URL: https://github.com/apache/echarts/issues/18591#issuecomment-1535776716

   Here is the configuration from the provided demo:
   
   ```js
   const randomValues = Array.from({ length: 100 }, (i) => (Math.random() * 40));
   
   option = {
     xAxis: {
       data: randomValues.map((_, i) => (`meas${i}`))
     },
     yAxis: {},
     series: [{
       name: "Sale",
       type: "bar",
       data: randomValues,
       markArea: {
         silent: true,
         data: [
           [{ xAxis: 'meas10', itemStyle: { color: 'rgb(239, 150, 0)' } }, { yAxis: 20 }]
         ]
       }
     }],
     dataZoom: { type: 'inside' } 
   }
   ```


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org