Take the 2-minute tour ×

I'm using Google Geochart and I would like to dynamically change the color of selected regions without having to redraw the entire chart again (which causes the chart to flicker). Is there a way to do this, and if so, how?

share|improve this question
The Geochart API reference doesn't state a setOptions method or something. And looking through the source code probably is a pain, knowing it went through the Google Closure Compiler. –  SimonPlus Apr 27 '12 at 20:05
@SimonPlus tell me about it :/ –  user730569 Apr 27 '12 at 21:30
add comment

2 Answers

There is way to change the region color of GeoChart dynamically in this VectorWorkz GeoChart. Its enables you to change the color of regions dynamically when its bounded data value changes, this is done by using KO, take a look at this sample and here is the online demo.

share|improve this answer
add comment

As far as I understand it's impossible to change the colors of regions in Geochart dynamically. However I would recommend you to try jVectorMap library, which has a setColors and setValues methods to update data dynamically.

share|improve this answer
add comment

Your Answer


