Skip to content

Commit

Permalink
PHPOffice#605 : Fixed Stacked or PercentStacked Charts
Browse files Browse the repository at this point in the history
  • Loading branch information
Progi1984 committed May 31, 2021
1 parent 49d3fe5 commit ea386f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PhpPresentation/Writer/PowerPoint2007/PptCharts.php
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ protected function writeTypeBar(XMLWriter $objWriter, Bar $subject, $includeShee
if ($barGrouping === Bar::GROUPING_CLUSTERED) {
$objWriter->writeAttribute('val', '0');
} elseif ($barGrouping === Bar::GROUPING_STACKED || $barGrouping === Bar::GROUPING_PERCENTSTACKED) {
$objWriter->writeAttribute('val', '100000');
$objWriter->writeAttribute('val', '100');
}
$objWriter->endElement();

Expand Down

0 comments on commit ea386f5

Please sign in to comment.