Skip to content
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

Closed
ghost opened this issue Jul 28, 2020 · 7 comments
Closed

Can not draw a rectangle on canvas on top of charts by drag&drop #13037

ghost opened this issue Jul 28, 2020 · 7 comments
Labels
bug en This issue is in English missing-demo The author should provide a demo. pending We are not sure about whether this is a bug/new feature. stale Inactive for a long time. Will be closed in 7 days. waiting-for: community

Comments

@ghost
Copy link

ghost commented Jul 28, 2020

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.

@echarts-bot
Copy link

echarts-bot bot commented Jul 28, 2020

Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.

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

@echarts-bot echarts-bot bot added bug en This issue is in English pending We are not sure about whether this is a bug/new feature. waiting-for: community labels Jul 28, 2020
@Ovilia Ovilia added the missing-demo The author should provide a demo. label Jul 29, 2020
@Ovilia
Copy link
Contributor

Ovilia commented Jul 29, 2020

Please create a demo using https://codepen.io/Ovilia/pen/dyYWXWM

@ghost
Copy link
Author

ghost commented Aug 3, 2020

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

@ghost
Copy link
Author

ghost commented Sep 3, 2020

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.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 3, 2022

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.

@github-actions github-actions bot added the stale Inactive for a long time. Will be closed in 7 days. label Sep 3, 2022
@github-actions
Copy link
Contributor

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!

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 11, 2022
@tchaton
Copy link

tchaton commented Aug 3, 2023

@ghost Any updates ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug en This issue is in English missing-demo The author should provide a demo. pending We are not sure about whether this is a bug/new feature. stale Inactive for a long time. Will be closed in 7 days. waiting-for: community
Projects
None yet
Development

No branches or pull requests

2 participants