AutoFlowResearch / SmartPeak

Fast and Accurate CE-, GC- and LC-MS(/MS) Data Processing
MIT License
41 stars 13 forks source link

Use ImPlot zooming feature #506

Closed bertrandboudaud closed 2 years ago

bertrandboudaud commented 2 years ago

We want to use the facilities provided by ImPlot to navigate into the chromatograms and the spectrograms.

dmccloskey commented 2 years ago

The only complications I can think of would be keeping the sliders that determine the ranges of x axis values in sync. Perhaps even allowing the user to reset to the original view with some sort of "reset" layout button would also be a good combo?

bertrandboudaud commented 2 years ago

Yes, actually we can remove the sliders at all. with the Calibration curve improvement that is WIP, we can see that using the mouse wheel to zoom out/in, and have the box selection is very convenient. And as for the Calibration curve (the WIP), and as you suggest, we can have a reset button indeed to reset the view.

dmccloskey commented 2 years ago

That sounds good on my end 👍