wavedrom / zoom

🔍 Zoomable Waveform viewer for the Web
MIT License
42 stars 1 forks source link

Zoomable & Scrollable #2

Open drom opened 6 years ago

drom commented 6 years ago

A timing diagram is 2D rendering with the following axis:

Rows

Zooming & Scrolling

drom commented 6 years ago

Originally posted by @nturley in https://github.com/wavedrom/zoom/issues/1#issuecomment-435543623

cmarqu commented 6 years ago

"Each signal row has static height." - except for the "line chart" (aka "analog waveform") view, where the height of the row should be draggable.

cmarqu commented 6 years ago

In the "line chart" mode for a signal trace, the limits of the displayed trace should be zoomable and scrollable.

cmarqu commented 6 years ago

Probably goes without saying, but horizontal zooming should work with Ctrl-Mousewheel and should zoom around the mouse pointer (like in map application). (There are commercial waveform viewers that instead zoom the center of the window, which doesn't quite feel natural these days.)