generate excel chart

Topics: Developer Forum, User Forum
May 25, 2011 at 6:49 AM

I want to generate an excel with a chart. I was wondering how can i generate a chart for flexibility, or if this feature is not yet developed properly, or how can I add an image (chart image).

The image is generated at runtime so I cannot use templates.

May 25, 2011 at 7:49 AM

Reading and Writing charts is targeted for the next realease of PHPExcel (sometime between now and the end of June) for Excel 2007 (.xlsx) files, and in the following release (sometime around September) for BIFF (.xls) files.

I already have most of the mechanisms in place for reading charts from Excel2007, and some rudimentary methods for creating/modifying chart objects, but am still having some problems with the Excel2007 Writer. Hopefully these will soon be resolved.

May 25, 2011 at 12:40 PM

Thank you for the quick response, looking forward to it :-), great job so far :-D, got me out of allot of problems.