Fixed painting of data period of charts after scanning.