I got a helpful reply directly in my email box. I wanted to make sure
the group got the answer too.

It is such a simple concept I totally overlooked it.

The idea is to use a STACKED bar chart where the first series has all
of the data EXCEPT for the one bar I want a different color, put in a
ZERO.
Then for the second series, all the values are ZERO except for the one
I want a different color. That one bar gets the real value.

Here is an example:
http://chart.apis.google.com/chart?chxt=y&chbh=a&chs=300x225&cht=bvs&chco=A2C180,3D7930&chd=t:10,50,60,80,40,60,30,0|0,0,0,0,0,0,0,88&chtt=Vertical+bar+chart

So simple and it works great!




On Mar 21, 6:11 pm, schworak <schwora...@gmail.com> wrote:
> I have a chart with a single series. I would like all the bars to be
> one color (say green) with only one bar being a different color (say
> red).
>
> I know if I want to get fancy I could make each bar its own series but
> that would be a pain and may not produce the result I am after in the
> axis area. So is it possible to color just one bar in a series
> different than the other bars?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Chart API" group.
To post to this group, send email to google-chart-api@googlegroups.com.
To unsubscribe from this group, send email to 
google-chart-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-chart-api?hl=en.

Reply via email to