mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-26 18:11:13 +00:00
Added example using cell caching
This commit is contained in:
@@ -638,7 +638,6 @@ class PHPExcel_Writer_HTML extends PHPExcel_Writer_Abstract implements PHPExcel_
|
||||
if ($chart instanceof PHPExcel_Chart) {
|
||||
$chartCoordinates = $chart->getTopLeftPosition();
|
||||
if ($chartCoordinates['cell'] == $coordinates) {
|
||||
// $chartFileName = tempnam(PHPExcel_Shared_File::sys_get_temp_dir(),'xlc');
|
||||
$chartFileName = PHPExcel_Shared_File::sys_get_temp_dir().'/'.uniqid().'.png';
|
||||
if (!$chart->render($chartFileName)) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user