Modify chart in various file formats