Hey, Thanks kindly -- that's exactly what I was looking for!
Kendall > You were close with using chco=<color 1>|<color 2>, but you need to > use ',' instead of '|'. Using ',' in chco sets the color for the > entire data series whereas '|' sets the color for each bar within a > data series. Seehttp://code.google.com/apis/chart/colors.html#chart_colors > for more info about this. > > Here's the chart you want: > > http://chart.apis.google.com/chart?cht=bvg&chm=D,0033FF,1,0,5,1&chbh=...55,44,33,22,11&chco=76A4FB,0033FF&chl=Wk1|Wk2|Wk3|Wk4|Wk5&chxt=x,y&chdl=Bar > s|Lines > > On Jan 8, 1:52 pm, kendall <[email protected]> wrote: > > > Hey, > > > I'm building a chart which is a bar graph with a line overlay. The > > chart needs to have a legend. I can't seem to find a way to make the > > legend reflect the proper colour of each element. > > > e.g., > > >http://chart.apis.google.com/chart?cht=bvg&chm=D,0033FF,1,0,5,1&chbh=...Wk2|Wk3|Wk4|Wk5&chxt=x,y&chdl=Bars|Lines > > > Removing the colour reference from chm= removes the colour from the > > line (it goes black), but that doesn't get reflected in the legend. > > > Changing chco= to chco=76A4FB|FF0000 alternates the colour of the bars > > (which I wouldn't expect), doesn't change the line colour, but does > > change the legend. > > > Does anyone have any ideas? Thanks! > > > Kendall --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
