New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not draw a rectangle on canvas on top of charts by drag&drop #13037
Comments
Hi! We've received your issue and please be patient to get responded. 🎉 In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer. If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical questions. If you are interested in the project, you may also subscribe our mail list. Have a nice day! 🍵 |
Please create a demo using https://codepen.io/Ovilia/pen/dyYWXWM |
Hi Ovilia, Thank you for your response. I tried to reproduce the code using your template, find it here : https://codepen.io/evavranici/pen/NWNKbxr but the problem is not appearing cause I can draw on top of the chart just like I want. Maybe some other configurations in my echarts code is preventing me from properly drawing in the embedded canvas. Also, a difference from yours to my code, in my case I 'import' echarts by including its module with the same name in my template's div not by initiating it with echarts.init (if that makes any difference) ... Can you help me if you may have any idea what can influence this behavior or if it has happened in the past? Thank you, |
Update: I couldn't draw on canvas (as title of the issue) but since my purpose of doing so was to draw a rectangle/area in order to zoom in into the chat, I managed to so my using the 'brush' in the options. |
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 issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks! |
@ghost Any updates ? |
Version
4.6.0
Steps to reproduce
Try to (drag and drop) draw a rectangle on canvas, which comes with echarts.
What is expected?
A rectangle to be shown while trying to draw over canvas
What is actually happening?
The rectangle is not shown as the charts visualization has priority over what you draw on canvas.
The text was updated successfully, but these errors were encountered: