finished migrating 1D spectrum viewer to canvas-based plots