Adjust chart in different file formats