SpectrumDataPlot: fix bug