-1

I'm using a d3 hierarchy chart for a kiosk application. I use this blog for implimenting zoom functionality. This will enable zoom on scroll and double click. I need a way to zoom out on whatever way possible. A mouse cant help as this is a Kiosk application. I use this answer to set an initial zoom

Community
  • 1
  • 1
Jins Peter
  • 2,368
  • 1
  • 18
  • 37

1 Answers1

-1

Since the device is to ask as a Kiosk, I believe there's not mouse involved?

If that's true, you'd be left with only touch gestures for any kind of input.

You could:

  1. Create a button to zoom in/out
  2. Create a slider to adjust zoom levels
  3. If device supports multi-touch, you can use the pinch-gesture
jkris
  • 5,851
  • 1
  • 22
  • 30