Skip to content

Commit

Permalink
checkstyle fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DE TROOSTEMBERGH Antoine authored and DE TROOSTEMBERGH Antoine committed Apr 15, 2021
1 parent afed126 commit 0692a55
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/PhpWord/Writer/Word2007/Part/Chart.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,8 @@ private function writePlotArea(XMLWriter $xmlWriter)
// Series
$this->writeSeries($xmlWriter, isset($this->options['scatter']));

if(!isset($this->options['grouping']) OR $this->options['grouping'] != 'clustered'){
// don't overlap if grouping is 'clustered'
if (!isset($this->options['grouping']) || $this->options['grouping'] != 'clustered') {
$xmlWriter->writeElementBlock('c:overlap', 'val', '100');
}

Expand Down

0 comments on commit 0692a55

Please sign in to comment.