Ensure that chart worksheet is correctly set when adding chart to a
worksheet
This commit is contained in:
parent
8e41c70d41
commit
b871674f18
|
@ -525,6 +525,7 @@ class PHPExcel_Worksheet implements PHPExcel_IComparable
|
||||||
*/
|
*/
|
||||||
public function addChart(PHPExcel_Chart $pChart = null, $iChartIndex = null)
|
public function addChart(PHPExcel_Chart $pChart = null, $iChartIndex = null)
|
||||||
{
|
{
|
||||||
|
$pChart->setWorksheet($this);
|
||||||
if (is_null($iChartIndex)) {
|
if (is_null($iChartIndex)) {
|
||||||
$this->_chartCollection[] = $pChart;
|
$this->_chartCollection[] = $pChart;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -89,6 +89,7 @@ Fixed in develop branch:
|
||||||
- Bugfix: (MBaker) Work items 15905 and 18183 - Allow "no impact" to formats on Conditional Formatting
|
- Bugfix: (MBaker) Work items 15905 and 18183 - Allow "no impact" to formats on Conditional Formatting
|
||||||
- Bugfix: (wackonline) OOCalc Reader fix for NULL cells
|
- Bugfix: (wackonline) OOCalc Reader fix for NULL cells
|
||||||
- Bugfix: (seltzlab) Fix to excel2007 Chart Writer when a $plotSeriesValues is empty
|
- Bugfix: (seltzlab) Fix to excel2007 Chart Writer when a $plotSeriesValues is empty
|
||||||
|
- Bugfix: (MBaker) Various fixes to Chart handling
|
||||||
- Bugfix: (MBaker) Work item 18370 - Error loading xlsx file with column breaks
|
- Bugfix: (MBaker) Work item 18370 - Error loading xlsx file with column breaks
|
||||||
- Bugfix: (MBaker) OOCalc Reader now handles percentage and currency data types
|
- Bugfix: (MBaker) OOCalc Reader now handles percentage and currency data types
|
||||||
- Bugfix: (MBaker) OOCalc Reader modified to process number-rows-repeated
|
- Bugfix: (MBaker) OOCalc Reader modified to process number-rows-repeated
|
||||||
|
|
Loading…
Reference in New Issue