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
}
});
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 ?