I am using PHPExcel for generating charts in Excel Files. I have some question whoes answer I couldn't find even after lot of R&D those are
- How can I show data labels to chart?
- How can I control the width of bar charts?
- How can I customize colors of bar charts?
I tried to show labels with layout class like :
$layout = new PHPExcel_Chart_Layout();
$layout->setShowVal(TRUE);
But no success.
I have also explored DataSeries
class and Chart
Class but couldn't find any solution. Any body here who have already done such tasks, Please guide.
Best Regards.
Read my answer there may be it will help with charts and yes better to create what you need and than use it with load and save(as template)
PHPExcel removes chart style when template is loaded
With this: