Skip to content

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

@GoogleCodeExporter

Description

@GoogleCodeExporter
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 djnoodle...@gmail.com on 16 Oct 2012 at 4:31

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions