Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PowerPoint get error when Stacked or PercentStacked Charts included (with solution) #605

Closed
pal-software opened this issue Dec 13, 2020 · 0 comments · Fixed by #633
Closed

Comments

@pal-software
Copy link

When I try to open presentation generated by PHPPResentation & including stacked chart with MS PowerPoint 2013, then I receive error about broken file.

Solution was change line 983 of the file src/PhpPresentationWriter/PowerPoint2007/PptCharts.php from
$objWriter->writeAttribute('val', '100000');
to
$objWriter->writeAttribute('val', '100');

@pal-software pal-software changed the title PowerPoint get error when Stacked or PercentStacked Charts included PowerPoint get error when Stacked or PercentStacked Charts included (with solution) Dec 13, 2020
Progi1984 added a commit to Progi1984/PHPPresentation that referenced this issue May 31, 2021
Progi1984 added a commit to Progi1984/PHPPresentation that referenced this issue May 31, 2021
@Progi1984 Progi1984 self-assigned this May 31, 2021
@Progi1984 Progi1984 added this to the 0.10.0 milestone May 31, 2021
Progi1984 added a commit to Progi1984/PHPPresentation that referenced this issue May 31, 2021
Progi1984 added a commit to Progi1984/PHPPresentation that referenced this issue May 31, 2021
@Progi1984 Progi1984 linked a pull request May 31, 2021 that will close this issue
Progi1984 added a commit that referenced this issue May 31, 2021
#605 : Fixed Stacked or PercentStacked Charts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

2 participants