mirror of
https://github.com/retailcrm/PHPExcel.git
synced 2024-11-25 06:46:03 +03:00
Fix to HTML generation with charts that fall outside of the main data area, and fix to show trailing /
in folders for the jpgraph in examples
This commit is contained in:
parent
8f7c2fd464
commit
663d942205
@ -577,9 +577,10 @@ class PHPExcel_Writer_HTML extends PHPExcel_Writer_Abstract implements PHPExcel_
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$html = '';
|
$html = '';
|
||||||
$colMax++;
|
$colMax++;
|
||||||
while ($row < $rowMax) {
|
while ($row <= $rowMax) {
|
||||||
$html .= '<tr>';
|
$html .= '<tr>';
|
||||||
for ($col = 'A'; $col != $colMax; ++$col) {
|
for ($col = 'A'; $col != $colMax; ++$col) {
|
||||||
$html .= '<td>';
|
$html .= '<td>';
|
||||||
|
@ -46,7 +46,7 @@ include 'PHPExcel/IOFactory.php';
|
|||||||
// Change these values to select the Rendering library that you wish to use
|
// Change these values to select the Rendering library that you wish to use
|
||||||
// and its directory location on your server
|
// and its directory location on your server
|
||||||
$rendererName = PHPExcel_Settings::CHART_RENDERER_JPGRAPH;
|
$rendererName = PHPExcel_Settings::CHART_RENDERER_JPGRAPH;
|
||||||
$rendererLibrary = 'jpgraph3.5.0b1/src';
|
$rendererLibrary = 'jpgraph3.5.0b1/src/';
|
||||||
$rendererLibraryPath = '/php/libraries/Charts/' . $rendererLibrary;
|
$rendererLibraryPath = '/php/libraries/Charts/' . $rendererLibrary;
|
||||||
|
|
||||||
|
|
||||||
|
@ -69,7 +69,7 @@ if (!PHPExcel_Settings::setPdfRenderer(
|
|||||||
// Change these values to select the Rendering library that you wish to use
|
// Change these values to select the Rendering library that you wish to use
|
||||||
// for Chart images, and its directory location on your server
|
// for Chart images, and its directory location on your server
|
||||||
$rendererName = PHPExcel_Settings::CHART_RENDERER_JPGRAPH;
|
$rendererName = PHPExcel_Settings::CHART_RENDERER_JPGRAPH;
|
||||||
$rendererLibrary = 'jpgraph3.5.0b1/src';
|
$rendererLibrary = 'jpgraph3.5.0b1/src/';
|
||||||
$rendererLibraryPath = '/php/libraries/Charts/' . $rendererLibrary;
|
$rendererLibraryPath = '/php/libraries/Charts/' . $rendererLibrary;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user