I’m generating a bar chart using ReportLab VerticalBarChart. I need one of the bars (each time a different one) to be a different color than the rest, to specify it is the ‘chosen’ value.
Or else, I need to mark it differently than the other bars somehow.
Any idea how to do that?
Meitham’s answer didn’t work for me – it seems that chart.bars.fillColor[0] colors all the bars in a series. When you have more than one series in one chart, you can determine the color for each series by Meitham’s method.
What I ended up doing is emphasizing the label (ix is the index for the parameter I needed to single out):
You can search for this in the reportlab user manual.