report: fix period chart generation