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

Changing the color of bars in single series Vertical & Horizontal bar charts #5

Open
GoogleCodeExporter opened this issue Mar 13, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Add a color set in the same way that the example is given for a pie chart to 
a bar chart
2. Change the variable '$chart->getPlot()->getPalette()->setPieColor' to 
'$chart->getPlot()->getPalette()->barColorSet' after looking in color class 
source code.
3. Colors provided are ignored. Apache log tells me 'Missing argument 2 for 
ColorSet::ColorSet(),'

What is the expected output? What do you see instead?
I would like to have a different color bar for each point in my chart, as my 
chart only has one series.

What version of the product are you using? On what operating system?
1.3, Ubuntu LTS

Please provide any additional information below.
If possible, can we add code that counts the series, and if there is only one 
series, can we make it default to a different color per point?

Original issue reported on code.google.com by [email protected] on 16 Oct 2012 at 4:31

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

No branches or pull requests

1 participant