I am really stuck up with this for a while and need the help asap.
I want to have different colors for different bars in the columnchart.
There is a provision to change the color of all the bars using colors:
option but i want different colors for different bars..
for instance in the example referred in the url...
http://code.google.com/apis/chart/interactive/docs/gallery/columnchart.html
for 2004 two bards are shown in blue and red and the same for other
years.. but my requirement is to have blue color (both the bars ) in
2004. red for both bars for 2005 and green for 2006 and red for 2007.
How can i achieve this??
Pl help me ..
Even if there is any alternative also pl suggest..
~Surya~
There is a way to hack around the problem which has been discussed extensively on this forum (search for 'bar colors'), ex: https://groups.google.com/d/msg/google-visualization-api/BPNbQ3GKCdg/R-7P0RwBOq8J
--To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/AikF9KPEcS4J.
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To post to this group, send email to google-visua...@googlegroups.com.
To unsubscribe from this group, send email to google-visualizati...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
Thank you very much..
Now atleast i got some clue/hint on how to handle this..
I got the logic of changing the colors depending on the color you are
assigning to the main chart,..
Actually what i want is to change the color depending on the values
which are set for the bars..
Any hint Pl?
> On Mon, Nov 21, 2011 at 8:49 PM, asgallant <drew_gall...@abtassoc.com>wrote:
>
>
>
>
>
>
>
> > There is a way to hack around the problem which has been discussed
> > extensively on this forum (search for 'bar colors'), ex:
> >https://groups.google.com/d/msg/google-visualization-api/BPNbQ3GKCdg/...
BR,
Surya
On Nov 21, 11:49 pm, asgallant <drew_gall...@abtassoc.com> wrote:
> There is a way to hack around the problem which has been discussed
> extensively on this forum (search for 'bar colors'), ex:https://groups.google.com/d/msg/google-visualization-api/BPNbQ3GKCdg/...
I guess this is because of the tooltip shown on top of the columnchart
is perhaps redrawing the bar..
even i put some dummy callback mouseover and mouselick events but
still the color gets changed..
my intention is color the bars depending on the values assigned to
them...
BR,
Surya
Its not working .!!!
--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.