Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP Powerpoint and Charts [closed]

I am trying to create PowerPoint Presentations via PHP using this library. When I try to create Chart objects inside the PowerPoint, I am not able to edit the charts when I download the file and open them in Microsoft Office.

Is there any library which can build charts inside a PowerPoint file and allow it to be edited via Office PowerPoint?

Sample Chart created using the above library

like image 250
Harsha M V Avatar asked Jul 24 '12 13:07

Harsha M V


People also ask

Why is my chart data not updating in PowerPoint?

In PowerPoint, click File > Info > Edit links to Files. Turn on the Automatically Update checkbox and try again.

How do you automatically update charts in PowerPoint?

Select your chart in PowerPoint. From the Chart Tools menu, click Design, then the Refresh Data button.

Can you publish a PowerPoint to the Web?

Click File > Save As, and then choose Web Page or Web Page, Filtered.


1 Answers

This is likely to be a bug with PHP Power Point.

However, the latest version of PHPExcel supports Charting and is actively maintained. It allows you to chart and export your data in excel which can be easily copied to PowerPoint.

On a personal note though, I would suggest you use Google Chart Tools or RaphaelJS.

Example chart

If you want to be able to use the Chart in PowerPoint, you can easily export Google Charts Data to Excel (CSV). Also see this example.

If you are presenting Google Analytics specifically, you should read this document on how to create an accurate automatically updated Chart and Data in PowerPoint from Google Analytics. It basically uses the oomfo plugin for PowerPoint.

Alternatively, there are paid solutions like ShufflePoint for this.

like image 159
Chibueze Opata Avatar answered Nov 06 '22 15:11

Chibueze Opata