[visualization-api] Re: Google Visualization GeoMap in Google Site

2013-11-20 Thread asgallant
AppsScript doesn't have built-in support for the GeoChart (the updated version of GeoMap, which you should use instead of GeoMap) or GeoMap. If I understand the AppsScript environment correctly, you need to create an HtmlService https://developers.google.com/apps-script/guides/html/ and

[visualization-api] Re: How to display line graph using Google Visualization API

2013-11-20 Thread asgallant
You have several problems with that output. First, your string outputs are not quoted: ['Semester 2', Software Engineering ], should be: ['Semester 2', 'Software Engineering' ], Second, you cannot mix data types in a column. A column must contain either all strings or all

[visualization-api] How to manipolated google.visualization.data.group()

2013-11-20 Thread Rita
Hi everybody, I am using the function google.visualization.data.group() on a DateTable to do a group by on rows for applying the aggregation function google.visualization.data.sum. I'd like to manipulate the result of the fuction sum to show it as a percentage depending on the value on a

[visualization-api] Re: How to manipolated google.visualization.data.group()

2013-11-20 Thread asgallant
Do you want to do the manipulation on the results of the group function or on the data the function is grouping? If you want to do the manipulation after the grouping, you can use a DataView, like this: http://jsfiddle.net/asgallant/G77eJ/ On Wednesday, November 20, 2013 10:26:01 AM UTC-5,

[visualization-api] Using NumberFormat with pie charts

2013-11-20 Thread Joshua Logan
Hey folks, I am wondering if anyone has found a good way to use NumberFormat with the pie charts? I know I can call it is a method during construction but when I do, it messes up the data going to the chart. I would like to just add it as a parameter of the chart object constructor. Any ideas

[visualization-api] Timeline location problem

2013-11-20 Thread Rodrigo Santiago
Hi Everyone, I've tried to put one chart timeline in my page and i've been disappointed... i'd like to set language to portuguese ('pt') like code below: --- script type=text/javascript src=https://www.google.com/jsapi;/script script type=text/javascript

[visualization-api] Re: Using NumberFormat with pie charts

2013-11-20 Thread asgallant
If the NumberFormat is messing up the PieChart, you are doing something wrong. The NumberFormat works just fine with PieCharts: http://jsfiddle.net/asgallant/Erz7y/ On Wednesday, November 20, 2013 12:57:30 PM UTC-5, Joshua Logan wrote: Hey folks, I am wondering if anyone has found a good

[visualization-api] Re: Using NumberFormat with pie charts

2013-11-20 Thread Joshua Logan
Thanks for the link to the jsfiddle. it helped immensely. I was able to see my issue and correct it. For some reason I was trying to pass NumberFormat as a property of the chart constructor. (Rookie moment.) -- You received this message because you are subscribed to the Google Groups Google

[visualization-api] Re: Timeline location problem

2013-11-20 Thread asgallant
It looks like the base Portuguese localization (pt) doesn't work, but the specific sub-locales do (pt-pt, pt-br, etc). Try one of those. See example here: http://jsfiddle.net/asgallant/Quz53/ On Wednesday, November 20, 2013 1:14:17 PM UTC-5, Rodrigo Santiago wrote: Hi Everyone, I've tried

[visualization-api] Re: Timeline location problem

2013-11-20 Thread asgallant
I take that back: the formatting of the Timeline visualization does not take into account the localization parameters (for any language). On Wednesday, November 20, 2013 3:36:07 PM UTC-5, asgallant wrote: It looks like the base Portuguese localization (pt) doesn't work, but the specific

[visualization-api] Re: Timeline location problem

2013-11-20 Thread asgallant
This seems to be fixed in the release candidate version (1.1). See http://jsfiddle.net/asgallant/Quz53/1/ On Wednesday, November 20, 2013 3:39:46 PM UTC-5, asgallant wrote: I take that back: the formatting of the Timeline visualization does not take into account the localization parameters

[visualization-api] Resize a chart

2013-11-20 Thread Troy Simpson
Hey, I'm using a chart in a google docs spreadsheet. The spreadsheet is collecting logging data so is growing constantly. I have a gapps script that triggers 'on edit' to expand the range of the chart which works fine. However, whenever the range is expanded for the chart, the width

[visualization-api] Re: Resize a chart

2013-11-20 Thread asgallant
You should be able to call the #setOption method of the chart object to set the width. If the chart width is changing when this code is run, though, you might want to ask the guy who wrote it why that is happening. On Wednesday, November 20, 2013 3:50:20 PM UTC-5, Troy Simpson wrote: Hey,

[visualization-api] Combo chart with bars but TWO lines

2013-11-20 Thread John Howell
Trying to modify this Google Chart Combo API example here: https://developers.google.com/chart/interactive/docs/gallery/combochart#Configuration_Options I want to display 2 individual lines above the bar chart (based on two different sets of data). Is it possible to include more than one line in

[visualization-api] Re: Combo chart with bars but TWO lines

2013-11-20 Thread asgallant
Don't add a second series option. Both series should appear in the same option: series: { 1: {type: 'line'}, 2: {type: 'line'} } where the 1 and 2 refer to the series indices of the lines (series are zero-indexed, so the first series is 0). On Wednesday, November 20, 2013 5:53:31 PM

[visualization-api] Geo Chart/Map

2013-11-20 Thread stkcht
Hi, I'm trying to create a simple geochart/map using google docs. I followed the instructions to create the chart within the spreadsheet but for some reason I'm not seeing a legend. I went into the advanced options and didn't see anything I could select. Anyone else having the same problem or

[visualization-api] Geomap/chart missing the legend???

2013-11-20 Thread stkcht
Hi, I'm trying to create a simple geochart/map using google docs. I followed the instructions to create the chart within the spreadsheet but for some reason I'm not seeing a legend. I went into the advanced options and didn't see anything I could select. Anyone else having the same problem or

[visualization-api] Re: Geomap/chart missing the legend???

2013-11-20 Thread asgallant
If you don't see the legend (a colored bar in the lower-left corner of the chart), one of three things has happened: either you set the legend option to none, or you are not loading the API correctly, or you are drawing the chart inside a hidden div. If you post the code you are using that

[visualization-api] Re: How to display line graph using Google Visualization API

2013-11-20 Thread cik oshin
ok.tq asgallant. I already solved yesterday. tqvm :) -- 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

Re: [visualization-api] Re: Stop Running the Script? in IE with large data set.

2013-11-20 Thread manish philip
Thanks a lot your suggestion solved the problem. On Tue, Nov 19, 2013 at 9:28 PM, asgallant drew_gall...@abtassoc.comwrote: I haven't tested it in IE8 yet, but I can see something right away that you should fix. You set the state of each control to the same thing: state: {

[visualization-api] Re: Google Visualization GeoMap in Google Site

2013-11-20 Thread Mike Eburne
Thanks for the info. Much appreciated. On Wednesday, 20 November 2013 17:08:05 UTC+2, asgallant wrote: AppsScript doesn't have built-in support for the GeoChart (the updated version of GeoMap, which you should use instead of GeoMap) or GeoMap. If I understand the AppsScript environment

[visualization-api] Re: chart.apis.google.com NetRanges

2013-11-20 Thread maasmith71
I pinged the chart.apis.google.com which resolved to: 74.125.196.138 I then looked for the net range of this ip here: http://www.iptrackeronline.com/whois.php The net range is: 74.125.0.0 - 74.125.255.255 Because this could only be coming from Google I would think you would be safe allowing

[visualization-api] Re: Resize a chart

2013-11-20 Thread Troy Simpson
The chart object doesn't seem to have the setOption method, thought the builder object does. I did try it but it didn't work. Can you confirm that the width can be set on the builder object? Otherwise, what object should I be referring to? Thanks for the thoughts. On Thursday, November