Thank you for the response. But the problem is .. colors option will give the same color to all the bars in the chart.. i means if i give red and blue as colors then all the first bars would be in red and the second bars in the column chart would be red. this is what i dont want..
i want both the bars in same color on certain condition which i want to set dynamically.. I tried to do it using SVGRectElement but the problem is i dont know which API i should be used.. .. If you have any idea.. pl let me know.. BR, Surya On Thu, Dec 1, 2011 at 2:02 AM, asgallant <[email protected]> wrote: > The API does not expose any methods of getting the bars' colors after the > chart is drawn. You can either a) set the colors using the chart's > 'colors' option so you know ahead of time what the colors are, or b) search > the SVG for the bar and locate its color that way. > > -- > You received this message because you are subscribed to the Google Groups > "Google Visualization API" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-visualization-api/-/TyUhwoCRHGsJ. > 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-visualization-api?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Visualization 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-visualization-api?hl=en.
