moved responsibility for drawing the spectrum into the chunk class