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:28:34 UTC

[GitHub] [echarts] rafalrat opened a new issue, #18591: [Bug] MarkArea gets cut off while scrolling in zoomed mode

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

   ### Version
   
   5.4.2
   
   ### Link to Minimal Reproduction
   
   https://codesandbox.io/s/wmppmi?file=/index.js
   
   ### Steps to Reproduce
   
   1. Open the demo on https://codesandbox.io/s/wmppmi?file=/index.js 
   2. Zoom in the chart several times (so that it can be scrollable)
   3. Keep scrolling the chart to the right and watch the left-hand side of the mark area as it's getting cut off when the first tick on the X-axis is not aligned with the [0, 0] point on the graph (as if mark area began at this tick and the space before is ignored while it should be continuous)
   
   Below a small demonstration:
   
   ![mark-area-scrolling-issue](https://user-images.githubusercontent.com/36672534/236388343-928907d3-cbd8-492a-a614-44cdc6489391.gif)
   
   
   ### Current Behavior
   
   Mark area is getting cut off when the first tick on the X-axis is not aligned with the [0, 0] point on the graph.  It looks like mark area started at this tick and the space before it is ignored.
   
   ### Expected Behavior
   
   Mark area should be drawn as a continuous area while scrolling, with no ruptures.
   
   ### 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: commits-unsubscribe@echarts.apache.org.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


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

Posted by "rafalrat (via GitHub)" <gi...@apache.org>.
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


Re: [I] [Bug] MarkArea gets cut off while scrolling in zoomed mode [echarts]

Posted by "frog9001 (via GitHub)" <gi...@apache.org>.
frog9001 commented on issue #18591:
URL: https://github.com/apache/echarts/issues/18591#issuecomment-2478250741

   any answer to this?? i am experiencing this problem too


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


Re: [I] [Bug] MarkArea gets cut off while scrolling in zoomed mode [echarts]

Posted by "github-actions[bot] (via GitHub) via commits" <co...@echarts.apache.org>.
github-actions[bot] commented on issue #18591:
URL: https://github.com/apache/echarts/issues/18591#issuecomment-6901363510

   This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.


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