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

Get plotVisOnly and dispBlanksAs props from chart in Xlsx Chart Writer. #1266

Closed
wants to merge 1 commit into from

Conversation

guicapanema
Copy link
Contributor

This is:

- [x] a bugfix
- [ ] a new feature

Checklist:

Why this change is needed?

The values passed to the \PhpOffice\PhpSpreadsheet\Chart\Chart class constructor were being ignored by the Xlsx writer.

This is basically my first contribution to a bigger OS project, so I apologize in advance for my amateurism.

These chart properties where hardcoded in the Xlsx writer, ignoring the
values passed to the \PhpOffice\PhpSpreadsheet\Chart\Chart class constructor.

I also changed the default $displayBlanksAs value to 'gap' to match this
document:
https://docs.microsoft.com/en-us/openspecs/office_standards/ms-oi29500/1942c028-3c4e-4dd9-a379-b12a9b7914df
@PowerKiKi PowerKiKi closed this in 144a0ca Nov 30, 2019
@PowerKiKi
Copy link
Member

Thank you for your contribution. I added a CHANGELOG entry and merged it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants