resize fix
max date always shown in chart