36chartreadwriteHTML.php can't view charts???

Topics: Developer Forum, User Forum
Jul 28, 2014 at 12:17 PM
Edited Jul 28, 2014 at 12:21 PM
$rendererName = PHPExcel_Settings::CHART_RENDERER_JPGRAPH;
$rendererLibrary = 'jpgraph3.5.0b1/src';
$rendererLibraryPath = 'C:/development/workspace/' . $rendererLibrary;

I was doing a project in symfony2 when i stumbled upon the problem that i can't get the chart to diplay in an HTML, so I thought i was doing something wrong so I used the example 36chartreadwriteHTML.php but i can't still view them.
jpgraph is currently in that location, and i can't understand why i can't see the sales chart at all, any help?

I get this in my .php result

13:09:18 Load Test from Excel2007 file 36writeLineChart1.xlsx
13:09:19 Iterate worksheets looking at the charts
Worksheet: Data
chart1 - "Sales"
13:09:19 Write Tests to HTML file
13:09:19 File written to 36writeLineChart1.html
13:09:19 Peak memory usage: 3.75 MB
13:09:19 Done writing files
Files have been created in C:\development\workspace\Phpexcel\Examples

OFC the file is created but i can only view the sheet without the chart.

Jul 28, 2014 at 12:38 PM
The reason is that the chart lies below the range of actual data, and there's a fault in the logic that extends generating the table to encompass the chart as well as the data. I was looking at it just this weekend, and will try to get a fix implemented sometime this week
Jul 28, 2014 at 1:08 PM
Thank you very much, I'm looking forward to it!