Spectrum for all bands in a ROI

In the Statistics View you can select an ROI. But only for a single band, unfortunately.

On the command line, you could use the StatisticsOp.
In this thread, you can find more information: A StatisticsOp graph