Fix when format is not defined for data series values, thanks to pnomolos
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@88558 2327b42d-5241-43d6-9e2a-de5ac946f064
This commit is contained in:
parent
8309a14df5
commit
f65dfa951e
|
@ -940,9 +940,11 @@ class PHPExcel_Writer_Excel2007_Chart extends PHPExcel_Writer_Excel2007_WriterPa
|
||||||
($groupType != PHPExcel_Chart_DataSeries::TYPE_PIECHART_3D) &&
|
($groupType != PHPExcel_Chart_DataSeries::TYPE_PIECHART_3D) &&
|
||||||
($groupType != PHPExcel_Chart_DataSeries::TYPE_DONUTCHART)) {
|
($groupType != PHPExcel_Chart_DataSeries::TYPE_DONUTCHART)) {
|
||||||
|
|
||||||
$objWriter->startElement('c:formatCode');
|
if ($plotSeriesValues->getFormatCode() !== NULL) {
|
||||||
$objWriter->writeRawData( $plotSeriesValues->getFormatCode() );
|
$objWriter->startElement('c:formatCode');
|
||||||
$objWriter->endElement();
|
$objWriter->writeRawData( $plotSeriesValues->getFormatCode() );
|
||||||
|
$objWriter->endElement();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$objWriter->startElement('c:ptCount');
|
$objWriter->startElement('c:ptCount');
|
||||||
|
|
Loading…
Reference in New Issue