marmelab/EventDrops

manual zoom buttons

250602110504 opened this issue · 4 comments

Problem:
I would like to know if it is possible to create buttons that let the user zoom and scroll like a mouse? I have tried a lot of different methods and no one works.
I really hope someone could help me, because I have spend a lot of time on it, but still run into trouble.

Environment

  • EventDrops version: 1.3.0
  • Browser: Chrome

Thanks for your time :)

I just added this problem in addition to add a new feature to the project.

Why do you mean by zoom button? The chart allows for zoom as you can see in the gif in the README.
Did you mean programmatically zoom by clicking a button? If so I am currently writing a PR to add that.

Yes, that's what I exactly mean. Programatically zoom by clicking a button.

Thanks for your answer.

Okay, I might have a PR ready in the next day or two. I don't think it will be included in a release just yet, however, you can always incorporate the changes yourself.