scanny / python-pptx

Create Open XML PowerPoint documents in Python
MIT License
2.4k stars 520 forks source link

Merge charts from different Slides into 1 #835

Open LeeSin2022 opened 2 years ago

LeeSin2022 commented 2 years ago

I have 1 PPT files with 4 slides, each slides have groups of charts ( 10 charts ) and the format is the same. Slide 1 is master, i need to read and extract data from chart in slide2 /slide3/slide4 and put into master slide in slide 1 (at certain place) and realize combination of slide2/slide3/slide4 into slide1. Does a way can realize this ? I attached the PPT file to get your better understand the question. Many thanks if you can give any suggestion to make it come true. Thanks!

illustration

Charts Combination.pptx

LeeSin2022 commented 2 years ago

Successfully realized chart in different files/slides combination by refer to Rajat`s solution. (https://stackoverflow.com/questions/66126040/read-data-embedded-in-pptx-chart/66127557#66127557)