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

Bar chart fillcolor not working #1400

Closed
MBFouad opened this issue Feb 29, 2020 · 3 comments
Closed

Bar chart fillcolor not working #1400

MBFouad opened this issue Feb 29, 2020 · 3 comments

Comments

@MBFouad
Copy link

MBFouad commented Feb 29, 2020

This is:

- [* ] a bug report
- [ ] a feature request
- [ ] **not** a usage question (ask them on https://stackoverflow.com/questions/tagged/phpspreadsheet or https://gitter.im/PHPOffice/PhpSpreadsheet)

What is the expected behavior?

If I set the colors for a BarChar, I'm expecting the lines to have those colors.

What is the current behavior?

BarChar don't have those colors

What are the steps to reproduce?

Take the sample file 33_Chart_create_bar_stacked.php, and add a color.

just change this line
$dataSeriesValues = array(
new DataSeriesValues(DataSeriesValues::DATASERIES_TYPE_NUMBER, 'Worksheet!$D$2:$D$5', NULL, 4, array(), null, '000000')) ;

Which versions of PhpSpreadsheet and PHP are affected?

the latest

@MBFouad
Copy link
Author

MBFouad commented Feb 29, 2020

I create pull request #1401

@stale
Copy link

stale bot commented Apr 29, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If this is still an issue for you, please try to help by debugging it further and sharing your results.
Thank you for your contributions.

@oleibman
Copy link
Collaborator

oleibman commented Jul 3, 2024

Fixed by PR #2906 in June 2022.

@oleibman oleibman removed the stale label Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants