Cut chart in different file formats