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,10 +940,12 @@ class PHPExcel_Writer_Excel2007_Chart extends PHPExcel_Writer_Excel2007_WriterPa
|
|||
($groupType != PHPExcel_Chart_DataSeries::TYPE_PIECHART_3D) &&
|
||||
($groupType != PHPExcel_Chart_DataSeries::TYPE_DONUTCHART)) {
|
||||
|
||||
if ($plotSeriesValues->getFormatCode() !== NULL) {
|
||||
$objWriter->startElement('c:formatCode');
|
||||
$objWriter->writeRawData( $plotSeriesValues->getFormatCode() );
|
||||
$objWriter->endElement();
|
||||
}
|
||||
}
|
||||
|
||||
$objWriter->startElement('c:ptCount');
|
||||
$objWriter->writeAttribute('val', $plotSeriesValues->getPointCount() );
|
||||
|
|
Loading…
Reference in New Issue