I'm running R, and there is a 'googlevis' package, which lets you use the R interface for things like GeoChart. So the code you provided below (thank you) must be coded in the package, and I don't know enough about it to know if I can change it.
On Oct 25, 11:33 am, Jinji <[email protected]> wrote: > I have to admit I don't understand the sentence "running the googlevis > package through R". > Loading Google Visualization API should be done as described > here<http://code.google.com/apis/chart/interactive/docs/basic_load_libs.html>. > Look at the "google.load" call. Its second argument is "1.0" in this > example, but can be changed "1.1". See > here<http://code.google.com/apis/chart/interactive/docs/library_loading_en...>for > explanation. > > > > > > > > On Tue, Oct 25, 2011 at 4:58 PM, Nicole <[email protected]> wrote: > > Can you tell me what it means to "load version 1.1"? I'm having > > trouble getting GeoChart to fill US states, and I wonder if it's the > > same problem. I'm running the googlevis package through R. Thanks. > > > On Oct 16, 12:23 pm, Jinji <[email protected]> wrote: > > > This means that in about 2-3 weeks it'll be available in 1.0. Don't > > forget > > > to switch your app to use 1.0 then. > > > > On Wed, Oct 12, 2011 at 12:07 AM, Buddy Brewer <[email protected] > > >wrote: > > > > > Yep, it works for me in when I load version 1.1. Thank you! > > > > > Buddy > > > > > On Tuesday, October 11, 2011 at 10:51 AM, Jinji wrote: > > > > > Does it work now for version '1.1'? > > > > > On Tue, Oct 11, 2011 at 7:06 PM, Buddy Brewer <[email protected] > > >wrote: > > > > > Thanks for the heads up. Could you give me an idea when a fixed RC > > will > > > > be available? I need to provide guidance to my client as to whether we > > > > should sit tight vs. choose an alternate library for geo charts. > > > > > Thanks! > > > > Buddy > > > > > On Sunday, October 9, 2011 at 7:47 PM, ChartALot wrote: > > > > > Thank you for reporting. > > > > This is a known bug that was introduced recently and fixed in our new > > > > release. > > > > Please stay tuned for a new release candidate and you should have it > > fixed. > > > > > Sorry for the inconvenience. > > > > > On Sat, Oct 8, 2011 at 12:51 AM, Buddy Brewer <[email protected] > > >wrote: > > > > > I can't for the life of me figure out why the code below doesn't work, > > > > based on the docs. I can get the map to draw metro-level boundaries, > > > > but can't get it to actually color any of the metros using the metro > > > > data provided. I tried using Chrome 16 and Safari. What am I doing > > > > wrong? > > > > > function drawVisualization() { > > > > var data = new google.visualization.DataTable(); > > > > data.addRows(2); > > > > data.addColumn('string', 'Metro'); > > > > data.addColumn('number', 'Popularity'); > > > > data.setValue(0, 0, '692'); > > > > data.setValue(0, 1, 200); > > > > data.setValue(1, 0, '807'); > > > > data.setValue(1, 1, 300); > > > > > var geochart = new google.visualization.GeoChart( > > > > document.getElementById('visualization')); > > > > geochart.draw(data, {width: 556, height: 347, region: 'US', > > > > resolution: 'metros'}); > > > > } > > > > > I tested this by pasting into: > > > >http://code.google.com/apis/ajax/playground/?type=visualization#geo_c. > > .. > > > > > Thanks, > > > > Buddy > > > > > -- > > > > 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. > > > > > -- > > > > 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. > > > > > -- > > > > 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. -- 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.
