Any change in the chart requires a redraw.  I wrote a hack that does 
something similar (it actually changes the color of the selected bar rather 
than all the others, but you can modify it to fit your 
needs): http://jsfiddle.net/asgallant/5SX8w/

Note that this may not work well if you have multiple series of data, as it 
adds a new series of data to change the color of the bar and sets the 
"isStacked" option to true to hide the visual side effects of multiple data 
series.  If you you chart is stacked anyway, this won't be as much of a 
problem, but you have to be careful about where you insert the new data 
series in the chart so you keep everything in the same relative position.

On Monday, December 17, 2012 9:42:57 AM UTC-5, Rastko Jokic wrote:
>
> I am using column chart to represent my data. 
>
> So, I would like to add feature that when the user selects one of the 
> columns, others (non-selected) change their color to gray (just make the 
> selection more obvious)..
>
> I would like to do this dynamically without of need to redraw the entire 
> chart again.
>
> Anyone have any ideas how to achieve this?
>
> Thank you in advance!

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