You could also color each bar separately using '|' in chco:

http://chart.apis.google.com/chart?cht=bvs&chs=200x125&chd=t:150,50,60,80,40&chco=c6d9fd|4d89f9|4d89f9|4d89f9|4d89f9&chbh=20&chds=0,160

Then you can stick with one data set.

On Apr 20, 3:08 pm, Michiel <[email protected]> wrote:
> Thanks, I think i'm going to use the second option. The first option
> is too difficult cause the charts are generated on the fly from a DB.
>
> On Apr 20, 9:05 pm, KeithB <[email protected]> wrote:
>
> > This is quite a "workaround," but you could use two datasets like the
> > following:
>
> >http://chart.apis.google.com/chart?cht=bvs&chs=200x125&chd=t:-1,50,60...
>
> > A bit tricky, but it works just like you want -- definitely would be a
> > pain to support this with widely varying data (highlight 4th bar this
> > time, 5th bar next time, etc.
>
> > Alternatively, you could use a shape 
> > marker:http://chart.apis.google.com/chart?cht=bvs&chs=200x125&chd=s:ello&chc...
>
> > Good luck,
> > K
>
> > On Apr 20, 2:55 pm, Michiel <[email protected]> wrote:
>
> > > Hi,
>
> > > I got a vertical bar chart with 7 bars...
> > > Is it possible to give the first bar a different color, and all other
> > > 6 the same. Just to make more clear that the first bar is the most
> > > important?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Chart API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-chart-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to