Skip to content

Commit 994c9f1

Browse files
committed
Fixed Doughnut
1 parent 684c824 commit 994c9f1

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

src/PhpPresentation/Writer/PowerPoint2007/PptCharts.php

+1-11
Original file line numberDiff line numberDiff line change
@@ -1247,9 +1247,7 @@ protected function writeTypeBar3D(XMLWriter $objWriter, Bar3D $subject, bool $in
12471247
}
12481248

12491249
/**
1250-
* Write Type Pie.
1251-
*
1252-
* @param XMLWriter $objWriter XML Writer
1250+
* Write Type Doughnut.
12531251
*/
12541252
protected function writeTypeDoughnut(XMLWriter $objWriter, Doughnut $subject, bool $includeSheet = false): void
12551253
{
@@ -1340,14 +1338,6 @@ protected function writeTypeDoughnut(XMLWriter $objWriter, Doughnut $subject, bo
13401338
$objWriter->endElement();
13411339
}
13421340

1343-
// c:dLbls\c:txPr
1344-
$objWriter->startElement('c:txPr');
1345-
$objWriter->writeElement('a:bodyPr', null);
1346-
$objWriter->writeElement('a:lstStyle', null);
1347-
1348-
// c:dLbls\c:txPr\a:p
1349-
$objWriter->startElement('a:p');
1350-
13511341
$this->writeElementWithValAttribute($objWriter, 'c:showLegendKey', $series->hasShowLegendKey() ? '1' : '0');
13521342
$this->writeElementWithValAttribute($objWriter, 'c:showVal', $series->hasShowValue() ? '1' : '0');
13531343
$this->writeElementWithValAttribute($objWriter, 'c:showCatName', $series->hasShowCategoryName() ? '1' : '0');

0 commit comments

Comments
 (0)