NPellet / visualizer

Other
43 stars 24 forks source link

spectra displayer and action in #952

Open lpatiny opened 8 years ago

lpatiny commented 8 years ago

I would like to be able to add icons in the module toolbar that change some aspect of the spectrum preferences. This could be display / hide peaks or set the spectrum as continuous or discrete.

Would be nice to have an Action in: Set spectrum preferences that accepts as value an object with the preferences you want to set

Some like doAction('setpref', { name: 'experimentalChart', options: { continuous: 'auto', peakPicking: true } });

But maybe there should be a more general system ?