Hi there Surya,

Is it possible for you to rearrange your data in advance, so that the data
will be sorted in a way that the charts will know how to deal with it. So
that in that case you will not have to drill into the SVG?



On Thu, Dec 1, 2011 at 1:35 PM, Surya Vempati <[email protected]>wrote:

> 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.
>

-- 
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.

Reply via email to