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't zoom by mouse #18

Open
Fred0327 opened this issue Aug 13, 2023 · 3 comments
Open

can't zoom by mouse #18

Fred0327 opened this issue Aug 13, 2023 · 3 comments

Comments

@Fred0327
Copy link

In JavaScript, if an image is too large, we can use mouse movements to pan and zoom the image. However, this is not possible in charming.

@yuankunzhang
Copy link
Owner

Hi @Fred0327 , can you post the code snippet you were using?

@Fred0327
Copy link
Author

I forked and created a new branch dev, you can run the dioxus-web-demo in the example dir.

The js example is here, you can use mouse zoom and pan the candlesticks.

@yuankunzhang
Copy link
Owner

There's this DataZoom component that can be used for zooming.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants