@@ -1247,9 +1247,7 @@ protected function writeTypeBar3D(XMLWriter $objWriter, Bar3D $subject, bool $in
1247
1247
}
1248
1248
1249
1249
/**
1250
- * Write Type Pie.
1251
- *
1252
- * @param XMLWriter $objWriter XML Writer
1250
+ * Write Type Doughnut.
1253
1251
*/
1254
1252
protected function writeTypeDoughnut (XMLWriter $ objWriter , Doughnut $ subject , bool $ includeSheet = false ): void
1255
1253
{
@@ -1340,14 +1338,6 @@ protected function writeTypeDoughnut(XMLWriter $objWriter, Doughnut $subject, bo
1340
1338
$ objWriter ->endElement ();
1341
1339
}
1342
1340
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
-
1351
1341
$ this ->writeElementWithValAttribute ($ objWriter , 'c:showLegendKey ' , $ series ->hasShowLegendKey () ? '1 ' : '0 ' );
1352
1342
$ this ->writeElementWithValAttribute ($ objWriter , 'c:showVal ' , $ series ->hasShowValue () ? '1 ' : '0 ' );
1353
1343
$ this ->writeElementWithValAttribute ($ objWriter , 'c:showCatName ' , $ series ->hasShowCategoryName () ? '1 ' : '0 ' );
@@ -1364,6 +1354,14 @@ protected function writeTypeDoughnut(XMLWriter $objWriter, Doughnut $subject, bo
1364
1354
// c:dLbls\c:txPr\a:p
1365
1355
$ objWriter ->startElement ('a:p ' );
1366
1356
1357
+ // c:dLbls\c:txPr
1358
+ $ objWriter ->startElement ('c:txPr ' );
1359
+ $ objWriter ->writeElement ('a:bodyPr ' , null );
1360
+ $ objWriter ->writeElement ('a:lstStyle ' , null );
1361
+
1362
+ // c:dLbls\c:txPr\a:p
1363
+ $ objWriter ->startElement ('a:p ' );
1364
+
1367
1365
// c:dLbls\c:txPr\a:p\a:pPr
1368
1366
$ objWriter ->startElement ('a:pPr ' );
1369
1367
0 commit comments