googleVis is part of the R package. Pour in data, execute command, geochart pours out. However, I can manually add your code to that output. It worked like a charm. Thank you.
On Wed, Aug 6, 2014 at 6:01 PM, Andrew Gallant <[email protected]> wrote: > The javascript I used in the fiddle is: > > function drawChartGeoChartID1590742f148() { > var data = gvisDataGeoChartID1590742f148(); > var options = {}; > options["width"] = 1200; > options["height"] = 900; > options["projection"] = "lambert"; > options["region"] = "US"; > options["resolution"] = "provinces"; > options["colorAxis"] = {values:[-4928379, -1355690.39529412, 0, > 1355690.39529412, 4928379], colors:['red', 'darkorange', 'white', 'blue', > 'darkviolet']}; > > var view = new google.visualization.DataView(data); > view.setColumns([0, 1, 2, { > type: 'string', > role: 'tooltip', > calc: function (dt, row) { > return null; > } > }]); > > var chart = new google.visualization.GeoChart( > document.getElementById('GeoChartID1590742f148') > ); > chart.draw(view,options); > } > > What language are you working with server side? I'm not familiar with a > "googleVis" package. > > On Wednesday, August 6, 2014 10:15:41 AM UTC-4, Bryan Maloney wrote: >> >> >> Since the jsfiddle link fails, what did you do and how does it work? I am >> not a javascript programmer. As I stated initially, I use the googleVis >> package to generate the geocharts. How do I pass this through googleVis? >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "Google Visualization API" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/google-visualization-api/9kjTPZ4--T8/unsubscribe > . > To unsubscribe from this group and all its topics, 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. > For more options, visit https://groups.google.com/d/optout. > -- 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. For more options, visit https://groups.google.com/d/optout.
