Skip to content

Commit afed126

Browse files
committed
update
1 parent a30bbbd commit afed126

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/PhpWord/Writer/Word2007/Part/Chart.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,9 @@ private function writePlotArea(XMLWriter $xmlWriter)
188188
// Series
189189
$this->writeSeries($xmlWriter, isset($this->options['scatter']));
190190

191-
$xmlWriter->writeElementBlock('c:overlap', 'val', '100');
191+
if(!isset($this->options['grouping']) OR $this->options['grouping'] != 'clustered'){
192+
$xmlWriter->writeElementBlock('c:overlap', 'val', '100');
193+
}
192194

193195
// Axes
194196
if (isset($this->options['axes'])) {

0 commit comments

Comments
 (0)