modify chart view for read/write file to date