Unfortunately this is a limitation of the GeoChart currently, but it is documented: https://developers.google.com/chart/interactive/docs/gallery/geochart#Data_Format
"*Region color* [*Number, Optional*] - An optional numeric column used to assign a color to this region, based on the scale specified in the colorAxis.colors property. If this column is not present, all regions will be the same color. *If the column is present, null values are not allowed.*Values are scaled relative to the sizeAxis.minValue/sizeAxis.maxValue values, or to the values specified in the colorAxis.values property, if provided." That being said, we will look into ways that we can handle the tooltip / selection / coloring behavior for null values better. If we were to be consistent, null values would probably be ignored, rather than plotted. -Tom Thomas Rybka | Software Engineer | [email protected] | GViz On Wed, Feb 13, 2013 at 11:16 AM, Davide Cavarretta <[email protected]>wrote: > Hi Group, > > I've a problem with Geochart Visualization API. > > The chart is handling differently the value null if there are some > numerical values or just null values. As it shows the code I attached if > there are numerical values (Valued Data chart) the null values don't show > either any tooltip and colours on it the other values are between red and > blue colors, in contrast to just null values (Null Valued chart) which > colour green is shown on every null country and tooltip empty is appearing. > > It is possible to have the same behaviour in each chart? is it a bug? I'd > like to choose colour of null values different from colour of undefined > countries and to show tooltip or be able to use "select" event on null > countries, is there a way to do it? > > Thank you in advance > Davide > > > -- > You received this message because you are subscribed to the Google Groups > "Google Visualization API" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to > [email protected]. > Visit this group at > http://groups.google.com/group/google-visualization-api?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-visualization-api?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
