Holes in doughnuts

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@86882 2327b42d-5241-43d6-9e2a-de5ac946f064
This commit is contained in:
Mark Baker 2012-02-24 07:45:08 +00:00
parent 2a8dc8f7f5
commit e624bb7c9e
1 changed files with 7 additions and 0 deletions

View File

@ -254,6 +254,13 @@ class PHPExcel_Writer_Excel2007_Chart extends PHPExcel_Writer_Excel2007_WriterPa
$objWriter->startElement('c:firstSliceAng'); $objWriter->startElement('c:firstSliceAng');
$objWriter->writeAttribute('val', 0); $objWriter->writeAttribute('val', 0);
$objWriter->endElement(); $objWriter->endElement();
if ($groupType === PHPExcel_Chart_DataSeries::TYPE_DONUTCHART) {
$objWriter->startElement('c:holeSize');
$objWriter->writeAttribute('val', 50);
$objWriter->endElement();
}
} }
$objWriter->endElement(); $objWriter->endElement();