Holes in doughnuts
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@86882 2327b42d-5241-43d6-9e2a-de5ac946f064
This commit is contained in:
parent
2a8dc8f7f5
commit
e624bb7c9e
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue