Re: [visualization-api] Is there a callback to tell me when my table is ready?

2016-04-01 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Bill,

You can use the 'ready' event to alert you that any visualization
(including Table) has finished rendering. Here is an example of doing that:
http://jsfiddle.net/cond05ko/

On Fri, Apr 1, 2016 at 8:36 AM Bill Bohling <bgbohl...@gmail.com> wrote:

> I'm occasionally experiencing a lag when initializing a new table with:
>
> table = new 
> google.visualization.Table(document.getElementById('google-chart'));
>
>
> To fix that I want to use a jQuery Deferred, so I'm trying to find a table
> callback that the table has loaded to tell me when I can resolve my
> Deferred:
>
> var tableDeferred = $.Deferred();
>
> table = new 
> google.visualization.Table(document.getElementById('google-chart'));
>
> table. = function() {
>   tableDeferred.resolve()
> }
>
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/71c549d8-ff63-447d-9054-ce8087a0ab86%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/71c549d8-ff63-447d-9054-ce8087a0ab86%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup5s4oGbybMC%2B%3Do7JYNU%3D-5XMhUEwsKsAJVudHnKqjjenA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Google Timeline Chart HTML on ROW

2016-03-30 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi,

There is currently no way to put HTML inside of a bar.

On Wed, Mar 30, 2016 at 9:04 AM <impa.carde...@gmail.com> wrote:

> Hello,
>
> I'm using google timeline chart and i'm trying to put html inside bar text
> without success. Anyone knows how can i do this?
>
> Ex:
>
>  dataTable.addRows([
>   [ '1', 'George Washington', new Date(1789, 3, 30), new 
> Date(1797, 2, 4) ],
>   [ '2', 'John Adams',new Date(1797, 2, 4),  new Date(1801, 2, 4) 
> ],
>   [ '3', 'Thomas Jefferson',  new Date(1801, 2, 4),  new Date(1809, 2, 4) 
> ]]);
>
>
>
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/5416affa-0fc0-4f48-9d03-1cf3ae013c35%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/5416affa-0fc0-4f48-9d03-1cf3ae013c35%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup7xzasOUBnCG_Zuy%2BonhLgBYHshzHe-YQw1hqzCrzvPpA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Re: Cannot read property '0' of undefined

2016-03-29 Thread 'Sergey Grabkovsky' via Google Visualization API
Bill,

Just to be clear, you're substituting "milliseconds" with the actual
milliseconds, correct? Like "Date(13829382)"?

If so, could you please post a complete code sample that reproduces your
issue?
On Tue, Mar 29, 2016 at 5:02 PM Bill Bohling <bgbohl...@gmail.com> wrote:

> Hi Sergey,
>
> I've redone my times per the datesandtimes page using 'Date(milliseconds)':
>
> var milliseconds = Date.parse(schedules[i]['startTime']);
> row[0] = {
> 'v': 'Date(milliseconds)'
> }
>
>
> but the date is coming out as the string
>
> 'Date(milliseconds)'
>
>   and I'm still getting the error.  Here's some prettified JSON that might
> make things easier:
>
> {
>   "cols": [
> {
>   "id": "day",
>   "label": "Day",
>   "type": "date"
> },
> {
>   "id": "Left",
>   "label": "Left",
>   "type": "string"
> },
> {
>   "id": "Center",
>   "label": "Center",
>   "type": "string"
> },
> {
>   "id": "Right",
>   "label": "Right",
>   "type": "string"
> }
>   ],
>   "rows": [
> [
>   {
> "v": "Date(milliseconds)"
>   },
>   {
> "v": "unscheduled"
>   },
>   {
> "v": "unscheduled"
>   },
>   {
> "v": "6"
>   }
> ],
> ...]}
>
>
> I have also tried converting the date using new Date(milliseconds) and
> passing that as the value of 'v' for my date column, and no luck there,
> either.
>
> Thanks for the help!
>
>
> On Tuesday, March 29, 2016 at 4:03:35 PM UTC-4, Bill Bohling wrote:
>>
>> I've just started using the Visualization API, trying to build a table.
>> I've got code putting together a JSON object per
>> https://developers.google.com/chart/interactive/docs/reference#methods,
>> and my data looks like this:
>>
>>
>> {"cols":[{"id":"day","label":"Day","type":"date"},{"id":"Left","label":"Left","type":"string"},{"id":"Center","label":"Center","type":"string"},{"id":"Right","label":"Right","type":"string"}],"rows":[[{"v":"2016-03-20T04:00:00"},{"v":"unscheduled"},{"v":"unscheduled"},{"v":"6"}],[{"v":"2016-03-20T04:00:00"},{"v":"11"},{"v":"unscheduled"},{"v":"unscheduled"}],[{"v":"2016-03-20T04:00:00"},{"v":"unscheduled"},{"v":"15"},{"v":"unscheduled"}],[{"v":"2016-03-21T10:08:07"},{"v":"12"},{"v":"unscheduled"},{"v":"unscheduled"}],[{"v":"2016-03-27T14:00:00"},{"v":"unscheduled"},{"v":"unscheduled"},{"v":"2"}]]}
>>
>> The code to use it is
>>
>> var data = new google.visualization.DataTable(dataTbl);
>> var table = new 
>> google.visualization.Table(document.getElementById('google-chart'));
>> table.draw(data, {frozenColumns: 1, alternatingRowStyle: true, width: 
>> '100%', height: '600'});
>>
>>
>> When I trying loading up my page, I get Cannot read property '0' of
>> undefined.  I've run my data through a JSON parser and it looks good there.
>>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/e0fde195-fab9-4c5f-b4bd-8e3c3d8d397b%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/e0fde195-fab9-4c5f-b4bd-8e3c3d8d397b%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup5q6ObMbA47q_8M4a3qP_jDJ%3DO9BfV1Lp2tmVdjG1t1Jw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Histogram with single row of data

2016-03-29 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Susanne,

It appears that you found a bug. We will do our best to fix it soon, but
until then you can just use version 43.

On Tue, Mar 29, 2016 at 4:40 PM Susanne <susann...@gmail.com> wrote:

> If you make a histogram with a single row of data, the one bar it shows
> does not seem to have a bound on its right side, even when you supply a
> bucketsize?
> In my example, the data point is [14] and the bucketsize 5.
> Am I missing something?
>
> Susanne
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/cb201f6b-dd41-47fb-a0f1-db344f9bd1be%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/cb201f6b-dd41-47fb-a0f1-db344f9bd1be%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup5J0a%3Ddb3qgzkgUV%2B3q%3D%2BzCy%3DbFyYcBC_nQdKWfgxTdYg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Cannot read property '0' of undefined

2016-03-29 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Bill,

I believe that your issue stems from using dates incorrectly. Please follow
the instructions on this page
<https://developers.google.com/chart/interactive/docs/datesandtimes> to
properly format your dates.

On Tue, Mar 29, 2016 at 4:03 PM Bill Bohling <bgbohl...@gmail.com> wrote:

> I've just started using the Visualization API, trying to build a table.
> I've got code putting together a JSON object per
> https://developers.google.com/chart/interactive/docs/reference#methods,
> and my data looks like this:
>
>
> {"cols":[{"id":"day","label":"Day","type":"date"},{"id":"Left","label":"Left","type":"string"},{"id":"Center","label":"Center","type":"string"},{"id":"Right","label":"Right","type":"string"}],"rows":[[{"v":"2016-03-20T04:00:00"},{"v":"unscheduled"},{"v":"unscheduled"},{"v":"6"}],[{"v":"2016-03-20T04:00:00"},{"v":"11"},{"v":"unscheduled"},{"v":"unscheduled"}],[{"v":"2016-03-20T04:00:00"},{"v":"unscheduled"},{"v":"15"},{"v":"unscheduled"}],[{"v":"2016-03-21T10:08:07"},{"v":"12"},{"v":"unscheduled"},{"v":"unscheduled"}],[{"v":"2016-03-27T14:00:00"},{"v":"unscheduled"},{"v":"unscheduled"},{"v":"2"}]]}
>
> The code to use it is
>
> var data = new google.visualization.DataTable(dataTbl);
> var table = new 
> google.visualization.Table(document.getElementById('google-chart'));
> table.draw(data, {frozenColumns: 1, alternatingRowStyle: true, width: '100%', 
> height: '600'});
>
>
> When I trying loading up my page, I get Cannot read property '0' of
> undefined.  I've run my data through a JSON parser and it looks good there.
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/c6893fca-1085-49a5-bf40-232bdb52cdcf%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/c6893fca-1085-49a5-bf40-232bdb52cdcf%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup5vvT1B%3Dge%3Dbdrz-z%3DX3EWW4VAPJUTTWvLCK-N9kKffvA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] get the title of selected label

2016-03-29 Thread 'Sergey Grabkovsky' via Google Visualization API
Yes, you'll have to get it from the source DataTable. Assuming that you
named your DataTable "data", you might have some code in your selection
handler like the following:
var sel = chart2.getSelection();
var col = sel[0].column;
var label = data.getColumnLabel(col);
alert(label);

On Tue, Mar 29, 2016 at 1:48 PM <aku...@apps.cierant.com> wrote:

> Hi Sergey, Thank you for offering help,
> I need the column name or text rather then the #,
>
> Please, let me know if this is possible,
>
> Thank you,
> Anna
>
>
> On Tuesday, March 29, 2016 at 9:42:52 AM UTC-4, Sergey wrote:
>
>> So have you figured out what you needed to do? Or do you still need help?
>>
>> On Mon, Mar 28, 2016 at 4:04 PM <aku...@apps.cierant.com> wrote:
>>
> Thank you for your responce,
>>>
>>> I am using barcharts,
>>>
>>> I was able to get the column number by doing this:
>>>
>>> google.visualization.events.addListener(chart2, 'select', function () {
>>> var sel = chart2.getSelection();
>>> var col = sel[0].column;
>>> alert(col);
>>> });
>>>
>>> Eventually i will need to have more detailed info in a table view for
>>> that selection
>>>
>>> Thank you!
>>>
>>>
>>> On Friday, March 25, 2016 at 3:54:33 PM UTC-4, Sergey wrote:
>>>
>>>> Different charts may manage their selection differently. What chart(s)
>>>> are you using?
>>>>
>>>> On Fri, Mar 25, 2016 at 3:53 PM <aku...@apps.cierant.com> wrote:
>>>>
>>> // a click on label
>>>>> google.visualization.events.addListener(chart1, 'select',
>>>>> selectHandler);
>>>>>
>>>>>
>>>>> function selectHandler(e) {
>>>>>   var selectedItem = chart1.getSelection();
>>>>> }
>>>>>
>>>>> does not get the value
>>>>>
>>>>>
>>>>>
>>>>> Cierant is a Bronze Sponsor of AHIP's Institute & Expo 2016
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> This message and any attachments are intended solely for the recipient
>>>>> as part of Cierant Corporation business. If you are not the intended
>>>>> recipient, disclosure, copying, use, or distribution of the information
>>>>> included in this message is prohibited -- please immediately and
>>>>> permanently delete this message.
>>>>> --
>>>>>   Cierant is an ISO 27001 certified company.
>>>>>
>>>>> --
>>>>> 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 google-visualization-api+unsubscr...@googlegroups.com.
>>>>>
>>>> To post to this group, send email to google-visua...@googlegroups.com.
>>>>
>>>>
>>>>> Visit this group at
>>>>> https://groups.google.com/group/google-visualization-api.
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/google-visualization-api/db3acbf9-4459-4af8-bc64-0136cfd195a9%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/google-visualization-api/db3acbf9-4459-4af8-bc64-0136cfd195a9%40googlegroups.com?utm_medium=email_source=footer>
>>>>> .
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>> --
>>>>
>>>> *[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google,
>>>> Inc• gra...@google.com*
>>>>
>>>>
>>>
>>>
>>> Cierant is a Bronze Sponsor of AHIP's Institute & Expo 2016
>>>
>>>
>>>
>>> --
>>> This message and any attachments are intended solely for the recipient
>>> as part of Cierant Corporation business. If you are not the intended
>>> recipient, disclosure, copying, use, or distribution of the information
>>> included in this message is prohibited -- please immediately and
>>> permanently delete this message.
>>> --
>>>   Cierant is an ISO 27001 certified compan

Re: [visualization-api] get the title of selected label

2016-03-29 Thread 'Sergey Grabkovsky' via Google Visualization API
So have you figured out what you needed to do? Or do you still need help?

On Mon, Mar 28, 2016 at 4:04 PM <aku...@apps.cierant.com> wrote:

> Thank you for your responce,
>
> I am using barcharts,
>
> I was able to get the column number by doing this:
>
> google.visualization.events.addListener(chart2, 'select', function () {
> var sel = chart2.getSelection();
> var col = sel[0].column;
> alert(col);
> });
>
> Eventually i will need to have more detailed info in a table view for that
> selection
>
> Thank you!
>
>
> On Friday, March 25, 2016 at 3:54:33 PM UTC-4, Sergey wrote:
>
>> Different charts may manage their selection differently. What chart(s)
>> are you using?
>>
>> On Fri, Mar 25, 2016 at 3:53 PM <aku...@apps.cierant.com> wrote:
>>
> // a click on label
>>> google.visualization.events.addListener(chart1, 'select',
>>> selectHandler);
>>>
>>>
>>> function selectHandler(e) {
>>>   var selectedItem = chart1.getSelection();
>>> }
>>>
>>> does not get the value
>>>
>>>
>>>
>>> Cierant is a Bronze Sponsor of AHIP's Institute & Expo 2016
>>>
>>>
>>>
>>> --
>>> This message and any attachments are intended solely for the recipient
>>> as part of Cierant Corporation business. If you are not the intended
>>> recipient, disclosure, copying, use, or distribution of the information
>>> included in this message is prohibited -- please immediately and
>>> permanently delete this message.
>>> --
>>>   Cierant is an ISO 27001 certified company.
>>>
>>> --
>>> 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 google-visualization-api+unsubscr...@googlegroups.com.
>>>
>> To post to this group, send email to google-visua...@googlegroups.com.
>>
>>
>>> Visit this group at
>>> https://groups.google.com/group/google-visualization-api.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/google-visualization-api/db3acbf9-4459-4af8-bc64-0136cfd195a9%40googlegroups.com
>>> <https://groups.google.com/d/msgid/google-visualization-api/db3acbf9-4459-4af8-bc64-0136cfd195a9%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>>
>> *[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
>> gra...@google.com*
>>
>>
>
>
> Cierant is a Bronze Sponsor of AHIP's Institute & Expo 2016
>
>
>
> --
> This message and any attachments are intended solely for the recipient as
> part of Cierant Corporation business. If you are not the intended
> recipient, disclosure, copying, use, or distribution of the information
> included in this message is prohibited -- please immediately and
> permanently delete this message.
> --
>   Cierant is an ISO 27001 certified company.
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/32507a2f-ac58-4c75-8ce9-e05904a9a4b9%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/32507a2f-ac58-4c75-8ce9-e05904a9a4b9%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup44w44BL1yLhNVu1LcM4mZuVV%3DHvx6n0zWwEYhE0ayLLQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] get the title of selected label

2016-03-25 Thread 'Sergey Grabkovsky' via Google Visualization API
Different charts may manage their selection differently. What chart(s) are
you using?

On Fri, Mar 25, 2016 at 3:53 PM <aku...@apps.cierant.com> wrote:

> // a click on label
> google.visualization.events.addListener(chart1, 'select',
> selectHandler);
>
>
> function selectHandler(e) {
>   var selectedItem = chart1.getSelection();
> }
>
> does not get the value
>
>
>
> Cierant is a Bronze Sponsor of AHIP's Institute & Expo 2016
>
>
>
> --
> This message and any attachments are intended solely for the recipient as
> part of Cierant Corporation business. If you are not the intended
> recipient, disclosure, copying, use, or distribution of the information
> included in this message is prohibited -- please immediately and
> permanently delete this message.
> --
>   Cierant is an ISO 27001 certified company.
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/db3acbf9-4459-4af8-bc64-0136cfd195a9%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/db3acbf9-4459-4af8-bc64-0136cfd195a9%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup7XY-swY%3DAE3fFgh%2BjiRmnZn68Ce8zeom4NnZMfSYYK9A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Timelines not lining up

2016-03-24 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Stephen,

It looks like the Date constructor isn't parsing your dates properly.
Experimenting with it in the console, I found that:
new Date(2016, 5, 2) results in the date "Thu Jun 02 2016 00:00:00 GMT-0400
(EDT)"
new Date('2016-06-02') results in the date "Wed Jun 01 2016 20:00:00
GMT-0400 (EDT)"

Note that this is a very different date than what we expected.
Experimenting with it a bit more, it appears that the following works
properly:
new Date('06-02-2016') results in the date "Thu Jun 02 2016 00:00:00
GMT-0400 (EDT)"

So it appears that the date constructor doesn't understand strings in the
form "-mm-dd", but in "mm-dd-". This probably differs based on
locale as well. If I were you, I would not use such an error-prone method
to construct my dates. If your dates come in that form, it would be best
for you to parse them yourself (or use another library like date.js
<http://www.datejs.com/>) and hand the components to the Date constructor
so that there is no room for confusion.

On Thu, Mar 24, 2016 at 5:53 AM <stephen.gil...@trinsic.co> wrote:

> I am trying to create a timeline chart in which multiple blocks are on the
> same line, butted against each.
>
> However it is splitting them apart although it is keeping them in the same
> grouping row. The strange thing is when I change the date format it results
> in them lining up as I want them to.
>
> I've a fiddle here in which you can see both cases
> https://jsfiddle.net/bj46bxL9/
>
> The problem is the date format that works is 'new Date(, mm, dd) '
> which uses zero based months and my data isn't zero based so the date
> format I'm using new Date('-mm-dd') displays the correct date but seems
> to cause the blocks to not line up.
>
> Does anyone know why they are splitting and how can I stop it from
> happening.
>
> Thanks
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/e4b35b6d-c394-49eb-ab38-9c861b495245%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/e4b35b6d-c394-49eb-ab38-9c861b495245%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup59v4SYM%2BPqo1vHbvEbRJsrmkZa2GsrgQOgtW2WwbBRag%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] JSON data from web method for Donut chart

2016-03-23 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi,

A JSON string must have its properties double quoted, not single quoted.
Let me know if you still experience issues after fixing this.

On Wed, Mar 23, 2016 at 6:22 AM Md Rehan Moazzam <mzmre...@gmail.com> wrote:

> Hi,
>
> I am trying to provide a json string to googlepie chart but every time its
> saying that json format is invalid.
>
> Please follow the code.
>
> //ASP code
>
> function drawDonutChart(chartType) {
> //alert('Under Donut Chart');
>
> var objCombo = {};
> objCombo.siteURL = window.location.protocol + "//" +
> window.location.host + _spPageContextInfo.siteServerRelativeUrl;
> objCombo.chartType = chartType;
>
> var jsonData = $.ajax({
> type: "POST",
> contentType: 'application/json',
> url: 'Dashboard.aspx/GetDonutChartData',
> data: JSON.stringify(objCombo),
> //beforeSend: function () { alert("before send"); },
> //complete: function () { alert("complete"); },
> success: function (data) {
> var donutChartData = new
> google.visualization.DataTable(data.d);
> var options = {
> legend: 'right',
> pieSliceText: 'value',
> pieHole: 0.4,
> chartArea: {
> width: 300, left: 20, top: 20, right: 20,
> bottom: 10
> }
> };
>
> if (donutChartData.getNumberOfRows() > 1) {
> var donutChart = new
> google.visualization.PieChart(document.getElementById('programmatic_DonutChart'));
> donutChart.draw(donutChartData, options);
> }
> else {
>
> document.getElementById('programmatic_DonutChart').innerHTML = "No data to
> display!";
> }
> },
> error: function (data) {
> if ($("meta[name=debug]").attr("content") == "true") {
> //Full Error when debugging
> var errDoc = window.open();
> errDoc.document.write(data.responseText);
> errDoc.document.close();
> }
> else {
> // generic error message for production use
> alert("An unexpected error occurred.");
> } return false;
> }
> });
> return false;
> }
>
> //Web Method
>
> [WebMethod]
> public static string GetDonutChartData(string siteURL, string
> chartType)
> {
> string jsonData = "{'cols':
> [{'id':'','label':'Topping','pattern':'','type':'string'},"+
> "{'id':'','label':'Slices','pattern':'','type':'number'}"+
>   "],'rows':
> [{'c':[{'v':'Mushrooms','f':null},{'v':3,'f':null}]},{'c':[{'v':'Onions','f':null},{'v':1,'f':null}]},{'c':[{'v':'Olives','f':null},{'v':1,'f':null}]},{'c':[{'v':'Zucchini','f':null},{'v':1,'f':null}]},"+
> "{'c':[{'v':'Pepperoni','f':null},{'v':2,'f':null}]}]}";
> //return list;
> return jsonData;
> }
>
> //Error Message:
>
> Uncaught Error: Invalid JSON string: 'cols':
> [{'id':'','label':'Topping','pattern':'','type':'string'},{'id':'','label':'Slices','pattern':'','type':'number'}],'rows':
> [{'c':[{'v':'Mushrooms','f':null},{'v':3,'f':null}]},{'c':[{'v':'Onions','f':null},{'v':1,'f':null}]},{'c':[{'v':'Olives','f':null},{'v':1,'f':null}]},{'c':[{'v':'Zucchini','f':null},{'v':1,'f':null}]},{'c':[{'v':'Pepperoni','f':null},{'v':2,'f':null}]}]
>
>
> Please help!!
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/b5bcf61f-c75e-47a9-a906-bcc3a69d0417%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/b5bcf61f-c75e-47a9-a906-bcc3a69d0417%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https:

Re: [visualization-api] Very basic question

2016-03-22 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Alexander,

1. It depends on what you're talking about. We don't support 3D charts like
the one on that page, but our dashboards do support the type of
connectivity that you appear to be looking for.
2. It really depends on your capabilities and capacity to understand new
concepts. In my opinion, Google Charts is one of the easier charts
libraries to use, especially when compared against something as code-heavy
as D3. However, I haven't played around with some of the other chart
libraries available, so I can't speak to whether they'll be easier to use
or not.
3. Yes. In fact, you can use a Google Sheet to keep your data
<https://developers.google.com/chart/interactive/docs/spreadsheets>.

Hope this helps!

On Tue, Mar 22, 2016 at 2:19 PM Philipp Alexander Asbrand-Eickhoff <
alexasbr...@gmail.com> wrote:

> Hey guys!
>
> I only have very limited web-design experiences, but for a project I need
> to include ineractive charts like these
> <https://www.worldwealthreport.com/reports/population/europe>.
>
> 1. From what I have gathered, this is possible with the Google
> Visualization API - correct?
> 2. Would you say that it is possible to do this without too much previous
> knowledge or should I seek professional assistance?
> 3. The data would be updated ever 3 months; is it possible to feed a data
> bank into the source code?
>
> These are probably rather silly questions for you, but try to remember the
> way you guys got your first experiences programming ;)
>
> Best regards from Germany and thanks in advance!!!
> Alexander
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/ffcf32a0-9758-459f-83a0-da17756702fa%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/ffcf32a0-9758-459f-83a0-da17756702fa%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup67FtKK8f27F9B%2BsR_ifosF%3DX92L3y-VR7av73UY-v8uw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Russian Federation, Greenland country not coming in Google world maps

2016-03-22 Thread 'Sergey Grabkovsky' via Google Visualization API
t;>>>
>>>>>> I will need more code than that if I am to help you figure this out.
>>>>>> Could you either link to the website where you are experiencing this 
>>>>>> error,
>>>>>> or distill the error into a jsfiddle? The code you gave doesn't appear to
>>>>>> have any relevance to the issue you're experiencing.
>>>>>>
>>>>>> On Tue, Mar 22, 2016 at 10:49 AM Akash Jain <akj...@gmail.com> wrote:
>>>>>>
>>>>> Thanks for the reply Sergey.
>>>>>>>
>>>>>>> We are also using the following code but somehow it does not show
>>>>>>> Russian Federation. We tried converting to InitCaps, AllCaps, All Small
>>>>>>> etc.
>>>>>>>
>>>>>>>   https://www.google.com/jsapi</a>
>>>>>>> ">
>>>>>>> https://www.gstatic.com/charts/loader.js&quot</a>;>
>>>>>>>
>>>>>>>   data.addColumn('string', 'Country');
>>>>>>>   data.addColumn('number', '#Revenue');
>>>>>>>   var myGeoArray=[];
>>>>>>>
>>>>>>> myGeoArray.push(["@1",@2]);
>>>>>>>
>>>>>>> On Tuesday, 22 March 2016 09:46:15 UTC-4, Sergey wrote:
>>>>>>>
>>>>>>>> Hi Akash,
>>>>>>>>
>>>>>>>> We identify the "Russian Federation" as "Russia". "Russian
>>>>>>>> Federation" should still work, however, if you loaded `
>>>>>>>> https://www.google.com/jsapi` in order to enable geocoding.
>>>>>>>>
>>>>>>>> Here is a jsfiddle where I use both "Greenland" and "Russian
>>>>>>>> Federation" on a world map: http://jsfiddle.net/3ghuk4xk/
>>>>>>>> Here is a jsfiddle where I didn't include the `/jsapi` endpoint (so
>>>>>>>> geocoding is disabled, and "Russian Federation" won't work properly:
>>>>>>>> http://jsfiddle.net/Lyuzsn4r/
>>>>>>>> However, "Russia" works just fine: http://jsfiddle.net/bwm7452c/
>>>>>>>>
>>>>>>>> To see the loaded scripts (the gstatic loader and the jsapi
>>>>>>>> endpoint), click on "External Resources" on the left bar.
>>>>>>>>
>>>>>>>> On Mon, Mar 21, 2016 at 10:28 AM Akash Jain <akj...@gmail.com>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>> Hi Team,
>>>>>>>>>
>>>>>>>>> I was trying to implement Google world maps but observed that the
>>>>>>>>> https://www.gstatic.com/charts/loader.js file does not have
>>>>>>>>> details for 'Russian Federation', 'Greenland' etc. There may be few 
>>>>>>>>> more.
>>>>>>>>> But as of now I found only these two.
>>>>>>>>> Since this is not present in the file, data points for these
>>>>>>>>> countries are not coming up in the world map.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Any help would be appreciated.
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>> Akash
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> 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
>>>>>>>>> google-visualization-api+unsubscr...@googlegroups.com.
>>>>>>>>>
>>>>>>>> To post to this group, send email to
>>>>>>>>> google-visua...@googlegroups.com.
>>>>>>>>
>>>>>>>>
>>>>>>>>> Visit this group at
>>>>>>>>> https://groups.google.com/group/google-visualization-api.
>>>>>>>>> To view this discussion on the web visit
>>>&

Re: [visualization-api] Russian Federation, Greenland country not coming in Google world maps

2016-03-22 Thread 'Sergey Grabkovsky' via Google Visualization API
;@1",@2]);
>>>>>
>>>>> On Tuesday, 22 March 2016 09:46:15 UTC-4, Sergey wrote:
>>>>>
>>>>>> Hi Akash,
>>>>>>
>>>>>> We identify the "Russian Federation" as "Russia". "Russian
>>>>>> Federation" should still work, however, if you loaded `
>>>>>> https://www.google.com/jsapi` in order to enable geocoding.
>>>>>>
>>>>>> Here is a jsfiddle where I use both "Greenland" and "Russian
>>>>>> Federation" on a world map: http://jsfiddle.net/3ghuk4xk/
>>>>>> Here is a jsfiddle where I didn't include the `/jsapi` endpoint (so
>>>>>> geocoding is disabled, and "Russian Federation" won't work properly:
>>>>>> http://jsfiddle.net/Lyuzsn4r/
>>>>>> However, "Russia" works just fine: http://jsfiddle.net/bwm7452c/
>>>>>>
>>>>>> To see the loaded scripts (the gstatic loader and the jsapi
>>>>>> endpoint), click on "External Resources" on the left bar.
>>>>>>
>>>>>> On Mon, Mar 21, 2016 at 10:28 AM Akash Jain <akj...@gmail.com> wrote:
>>>>>>
>>>>> Hi Team,
>>>>>>>
>>>>>>> I was trying to implement Google world maps but observed that the
>>>>>>> https://www.gstatic.com/charts/loader.js file does not have details
>>>>>>> for 'Russian Federation', 'Greenland' etc. There may be few more. But 
>>>>>>> as of
>>>>>>> now I found only these two.
>>>>>>> Since this is not present in the file, data points for these
>>>>>>> countries are not coming up in the world map.
>>>>>>>
>>>>>>>
>>>>>>> Any help would be appreciated.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Akash
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> 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
>>>>>>> google-visualization-api+unsubscr...@googlegroups.com.
>>>>>>>
>>>>>> To post to this group, send email to google-visua...@googlegroups.com
>>>>>>> .
>>>>>>
>>>>>>
>>>>>>> Visit this group at
>>>>>>> https://groups.google.com/group/google-visualization-api.
>>>>>>> To view this discussion on the web visit
>>>>>>> https://groups.google.com/d/msgid/google-visualization-api/86afe77b-d117-4981-b187-b83ce3b9f988%40googlegroups.com
>>>>>>> <https://groups.google.com/d/msgid/google-visualization-api/86afe77b-d117-4981-b187-b83ce3b9f988%40googlegroups.com?utm_medium=email_source=footer>
>>>>>>> .
>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>
>>>>>> --
>>>>>>
>>>>>> *[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google,
>>>>>> Inc• gra...@google.com*
>>>>>>
>>>>>> --
>>>>> 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 google-visualization-api+unsubscr...@googlegroups.com.
>>>>> To post to this group, send email to google-visua...@googlegroups.com.
>>>>> Visit this group at
>>>>> https://groups.google.com/group/google-visualization-api.
>>>>>
>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/google-visualization-api/996b0078-4f09-41ca-84ef-00786ef7c9bd%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/google-visualization-api/996b0078-4f09-41ca-84ef-00786ef7c9bd%40googlegroups.com?utm_medium=email_source=footer>
>>>>> .
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>> --
>>>>
>>>> *[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google,
>>>> Inc• gra...@google.com*
>>>>
>>>> --
>>> 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 google-visualization-api+unsubscr...@googlegroups.com.
>>> To post to this group, send email to google-visua...@googlegroups.com.
>>> Visit this group at
>>> https://groups.google.com/group/google-visualization-api.
>>>
>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/google-visualization-api/52e2b57e-1442-47ef-9a8e-ca100259a02c%40googlegroups.com
>>> <https://groups.google.com/d/msgid/google-visualization-api/52e2b57e-1442-47ef-9a8e-ca100259a02c%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>>
>> *[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
>> gra...@google.com*
>>
>> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/c8ade227-5c64-49cf-9472-3f66eb8a1feb%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/c8ade227-5c64-49cf-9472-3f66eb8a1feb%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup4m_gUPSKfaKj6300qy%3D-XyfeH4xNkHd%3DQKPJtVJqNmVA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Russian Federation, Greenland country not coming in Google world maps

2016-03-22 Thread 'Sergey Grabkovsky' via Google Visualization API
The GeoMap is extremely deprecated and we strongly urge anyone using it to
use the GeoChart
<https://developers.google.com/chart/interactive/docs/gallery/geochart>
instead. Please post back if you experience these issues with the GeoChart.

On Tue, Mar 22, 2016 at 11:52 AM Akash Jain <akj2...@gmail.com> wrote:

> Hi,
> I understand your concern. This is for our Oracle BI reporting tool
> wherein we want to use the data coming from the report to plot the world
> map.
>
> This is the Prefix part of the code.
>
>   https://www.google.com/jsapi</a>
> ">
> https://www.gstatic.com/charts/loader.js&quot</a>;>
>   
> if(document.URL.indexOf("saw.dll?Answers") == -1)
> google.load('visualization', '1', {packages: ['geomap']});
>
> function drawGeo() {
> if(document.URL.indexOf("saw.dll?Answers") == -1) {
>   var data = new google.visualization.DataTable();
>   data.addColumn('string', 'Country');
>   data.addColumn('number', '#Revenue');
>   var myGeoArray=[];
>
> And then the Narrative part which actually pushes the data from report
> taking from 1st( Country Name) and 2nd column(Revenue).
>
> myGeoArray.push(["@1",@2]);
>
> And then the postfix.
>
>  data.addRows(myGeoArray);
>  var options = {};
>   options['width'] = '600px';
>   options['height'] = '400px';
>   var geomap = new google.visualization.GeoMap(
>   document.getElementById('div_Geo'));
>   geomap.draw(data, options);
> }
> }
>
> if(document.URL.indexOf("saw.dll?Answers") == -1)
> google.setOnLoadCallback(drawGeo);
>   
> 
>
> So for all the other countries we are able to see the data in world map.
> But for Russian Federation it does not come up even thought we have revenue
> for that in the tabular report.
>
>
>
>
> On Tuesday, 22 March 2016 11:43:29 UTC-4, Sergey wrote:
>
>> Akash,
>>
>> I will need more code than that if I am to help you figure this out.
>> Could you either link to the website where you are experiencing this error,
>> or distill the error into a jsfiddle? The code you gave doesn't appear to
>> have any relevance to the issue you're experiencing.
>>
>> On Tue, Mar 22, 2016 at 10:49 AM Akash Jain <akj...@gmail.com> wrote:
>>
> Thanks for the reply Sergey.
>>>
>>> We are also using the following code but somehow it does not show
>>> Russian Federation. We tried converting to InitCaps, AllCaps, All Small
>>> etc.
>>>
>>>   https://www.google.com/jsapi</a>
>>> ">
>>> https://www.gstatic.com/charts/loader.js&quot</a>;>
>>>
>>>   data.addColumn('string', 'Country');
>>>   data.addColumn('number', '#Revenue');
>>>   var myGeoArray=[];
>>>
>>> myGeoArray.push(["@1",@2]);
>>>
>>> On Tuesday, 22 March 2016 09:46:15 UTC-4, Sergey wrote:
>>>
>>>> Hi Akash,
>>>>
>>>> We identify the "Russian Federation" as "Russia". "Russian Federation"
>>>> should still work, however, if you loaded `https://www.google.com/jsapi`
>>>> in order to enable geocoding.
>>>>
>>>> Here is a jsfiddle where I use both "Greenland" and "Russian
>>>> Federation" on a world map: http://jsfiddle.net/3ghuk4xk/
>>>> Here is a jsfiddle where I didn't include the `/jsapi` endpoint (so
>>>> geocoding is disabled, and "Russian Federation" won't work properly:
>>>> http://jsfiddle.net/Lyuzsn4r/
>>>> However, "Russia" works just fine: http://jsfiddle.net/bwm7452c/
>>>>
>>>> To see the loaded scripts (the gstatic loader and the jsapi endpoint),
>>>> click on "External Resources" on the left bar.
>>>>
>>>> On Mon, Mar 21, 2016 at 10:28 AM Akash Jain <akj...@gmail.com> wrote:
>>>>
>>> Hi Team,
>>>>>
>>>>> I was trying to implement Google world maps but observed that the
>>>>> https://www.gstatic.com/charts/loader.js file does not have details
>>>>> for 'Russian Federation', 'Greenland' etc. There may be few more. But as 
>>>>> of
>>>>> now I found only these two.
>>>>> Since this is not present in the file, data points for these countries
>>>>> are not coming up in the world map.
>>>>>
>>>>>
>>>>> Any help would be appreciated.
>>>>>
>>>>> Re

Re: [visualization-api] Russian Federation, Greenland country not coming in Google world maps

2016-03-22 Thread 'Sergey Grabkovsky' via Google Visualization API
Akash,

I will need more code than that if I am to help you figure this out. Could
you either link to the website where you are experiencing this error, or
distill the error into a jsfiddle? The code you gave doesn't appear to have
any relevance to the issue you're experiencing.

On Tue, Mar 22, 2016 at 10:49 AM Akash Jain <akj2...@gmail.com> wrote:

> Thanks for the reply Sergey.
>
> We are also using the following code but somehow it does not show Russian
> Federation. We tried converting to InitCaps, AllCaps, All Small etc.
>
>   https://www.google.com/jsapi</a>
> ">
> https://www.gstatic.com/charts/loader.js&quot</a>;>
>
>   data.addColumn('string', 'Country');
>   data.addColumn('number', '#Revenue');
>   var myGeoArray=[];
>
> myGeoArray.push(["@1",@2]);
>
> On Tuesday, 22 March 2016 09:46:15 UTC-4, Sergey wrote:
>
>> Hi Akash,
>>
>> We identify the "Russian Federation" as "Russia". "Russian Federation"
>> should still work, however, if you loaded `https://www.google.com/jsapi`
>> in order to enable geocoding.
>>
>> Here is a jsfiddle where I use both "Greenland" and "Russian Federation"
>> on a world map: http://jsfiddle.net/3ghuk4xk/
>> Here is a jsfiddle where I didn't include the `/jsapi` endpoint (so
>> geocoding is disabled, and "Russian Federation" won't work properly:
>> http://jsfiddle.net/Lyuzsn4r/
>> However, "Russia" works just fine: http://jsfiddle.net/bwm7452c/
>>
>> To see the loaded scripts (the gstatic loader and the jsapi endpoint),
>> click on "External Resources" on the left bar.
>>
>> On Mon, Mar 21, 2016 at 10:28 AM Akash Jain <akj...@gmail.com> wrote:
>>
> Hi Team,
>>>
>>> I was trying to implement Google world maps but observed that the
>>> https://www.gstatic.com/charts/loader.js file does not have details for
>>> 'Russian Federation', 'Greenland' etc. There may be few more. But as of now
>>> I found only these two.
>>> Since this is not present in the file, data points for these countries
>>> are not coming up in the world map.
>>>
>>>
>>> Any help would be appreciated.
>>>
>>> Regards,
>>> Akash
>>>
>>>
>>> --
>>> 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 google-visualization-api+unsubscr...@googlegroups.com.
>>>
>> To post to this group, send email to google-visua...@googlegroups.com.
>>
>>
>>> Visit this group at
>>> https://groups.google.com/group/google-visualization-api.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/google-visualization-api/86afe77b-d117-4981-b187-b83ce3b9f988%40googlegroups.com
>>> <https://groups.google.com/d/msgid/google-visualization-api/86afe77b-d117-4981-b187-b83ce3b9f988%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>>
>> *[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
>> gra...@google.com*
>>
>> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/996b0078-4f09-41ca-84ef-00786ef7c9bd%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/996b0078-4f09-41ca-84ef-00786ef7c9bd%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup7gdmTgiuWybaBQVRfxtrDwX6d6AH4_ECZAgzUUcoU6_Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Google Charts on a Closed Network

2016-03-22 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi J,

It is against our terms of service to download Google Charts code and serve
it yourself. We may support this use case at some point in the future, but
currently do not.

On Mon, Mar 21, 2016 at 10:56 AM J Richards <staticage...@gmail.com> wrote:

> Hi,
> I'd like to use Google Charts for an embedded device. The embedded device
> will likely be on a closed network (i.e. a TCP/IP network with a firewall
> preventing access to public web sites). Is it possible to embed Google
> Charts within EEPROM and then use HTML linking to use the API stored on the
> device (as opposed to linking from the google networks)?
>
> Thanks so much for your help!
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/3d889778-ce41-41ee-ae24-9f0044bb5a58%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/3d889778-ce41-41ee-ae24-9f0044bb5a58%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup5Z8axcDNDPJWUDKH-pYtQR4oLOXv_8v0Cv7rTtv9hwqw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Russian Federation, Greenland country not coming in Google world maps

2016-03-22 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Akash,

We identify the "Russian Federation" as "Russia". "Russian Federation"
should still work, however, if you loaded `https://www.google.com/jsapi` in
order to enable geocoding.

Here is a jsfiddle where I use both "Greenland" and "Russian Federation" on
a world map: http://jsfiddle.net/3ghuk4xk/
Here is a jsfiddle where I didn't include the `/jsapi` endpoint (so
geocoding is disabled, and "Russian Federation" won't work properly:
http://jsfiddle.net/Lyuzsn4r/
However, "Russia" works just fine: http://jsfiddle.net/bwm7452c/

To see the loaded scripts (the gstatic loader and the jsapi endpoint),
click on "External Resources" on the left bar.

On Mon, Mar 21, 2016 at 10:28 AM Akash Jain <akj2...@gmail.com> wrote:

> Hi Team,
>
> I was trying to implement Google world maps but observed that the
> https://www.gstatic.com/charts/loader.js file does not have details for
> 'Russian Federation', 'Greenland' etc. There may be few more. But as of now
> I found only these two.
> Since this is not present in the file, data points for these countries are
> not coming up in the world map.
>
>
> Any help would be appreciated.
>
> Regards,
> Akash
>
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/86afe77b-d117-4981-b187-b83ce3b9f988%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/86afe77b-d117-4981-b187-b83ce3b9f988%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup6TX6_88VYdwAiy000ZyhKmGS4Vf-MYNr3GSzFdr3zong%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Chartwrapper, Map, infowindows and tooltips

2016-03-19 Thread 'Sergey Grabkovsky' via Google Visualization API
Simon,

I'm happy to inform you that I was able to make this change, and in the
next release of Google Charts, you will be able to hide the tooltip while
still showing the info window with HTML.

On Fri, Mar 18, 2016 at 3:01 PM 'Simon Banton' via Google Visualization API
<google-visualization-api@googlegroups.com> wrote:

> Hi Sergey,
>
> The simplicity of the Maps visualization approach re Spreadsheets
> integration is what convinced me to go this route instead of direct to the
> Maps API.
>
> A means of overriding the default behaviour (ie using the third column in
> the datasource for both Infowindow and marker title content) that allowed
> direct control of the title attribute's content would be excellent.
>
> Many thanks again
> Simon
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/18f7f1d6-d0ed-49f5-85da-39697bd7da7f%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/18f7f1d6-d0ed-49f5-85da-39697bd7da7f%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup7c2rhr0CV1Xjw6LriN4jgUOjRRcUTLQwv1q%3DGd%2BM88Bg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Help needed on publishing 3 charts on the same HTML Page

2016-03-19 Thread 'Sergey Grabkovsky' via Google Visualization API
Hello Fernando,

Your issue is that you're including the loader.js script multiple times and
calling google.charts.load multiple times. You should not include loader.js
multiple times under any circumstances. However, the multiple
google.charts.load call issue should be fixed in a subsequent release. In
the meantime, change your first google.charts.load call to include all your
packages.

On Fri, Mar 18, 2016 at 3:25 PM Fernando Labombarda <flabomba...@gmail.com>
wrote:

> Hello everyone,
>
> I need some help to identify what is wrong. Basically I need to publish 3
> charts on 1 HTML page.
> Is working fine for the first 2 (line chart) but the 3rd one is Gauge, it
> doesn't come up and I can't find the reason.
> The page can be visualized from here:
> http://flabombarda.net16.net/view.php
>
> Can someone with better experience help me identifying what is wrong ?
>
> What is curious is the fact that if I put the code of the 3rd one on a
> separated HTML, without the other 2, it works, so looks like there is a
> naming conflict that I cannot find.
> I already renamed the function drawChart (like I did for the previous
> charts) but still not working.
>
> Any help would be appreciated.
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/b2906428-da46-4f80-aa2d-01ddf9272002%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/b2906428-da46-4f80-aa2d-01ddf9272002%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup7Gv-bmWDKjAfuyFipu4Z3-VqKYzgDvuyJsDcWoFo5Upw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Can't get Geochart Region to show anything besides countries

2016-03-19 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Eric,

Along with the `region` option, you also need to set the `resolution`
option to something sensible. For instance, if you're trying to set
`region` to be a US state, you need to set your resolution to `provinces`
or `dmas`, like so: http://jsfiddle.net/3k0b6xob/

On Wed, Mar 16, 2016 at 9:38 AM Eric Segal <e...@datacollaborative.com>
wrote:

> I am trying to create a Geochart using US States instead of Countries. The
> documentation says this is possible, for example the documentation says
>
>- An uppercase ISO-3166-2 <http://en.wikipedia.org/wiki/ISO_3166-2> region
>code name or its English text equivalent (for example, "US-NJ" or "New
>Jersey").
>
> However I have tried US-NJ, New Jersey, and many other options but have
> not been able to get it to work. I've been using the code on this page
>
>
> https://developers.google.com/chart/interactive/docs/gallery/geochart#region-geocharts
>
> in fiddle, just substituting New Jersey for Russia, but I do not get any
> shading in New Jersey (or any other state). Has anyone been able to do this?
>
> Thanks,
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/c980307e-6398-4e7a-b49b-0f1dd9566870%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/c980307e-6398-4e7a-b49b-0f1dd9566870%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup7dDuW7tXJ6eZU5-dfjUt4bVT3Dm_CMDcG9d0f_HE-5Pw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Toopltips on piechart flicker on mouse over

2016-03-19 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Robert,

You can use the `tooltip.ignoreBounds` option in conjunction with HTML
tooltips to allow the tooltips to extend outside the chart area. This
method should be used with caution, as it can lead to a cropped tooltip if
done improperly.

On Wed, Mar 16, 2016 at 6:36 PM Robert Olide <sportslivedec...@gmail.com>
wrote:

> Need help guys, I got a tooltip on my pie charts and it flickers on mouse
> over.
>
> If I could get help on moving the tooltips outside the piechart that it
> will not be a problem.
>
> But if I can keep them in and some how not allow the tooltip to get any
> action on hover but the pie chart does. That would be even better.
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/e0159519-bb0c-48af-98b2-2a4447e26042%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/e0159519-bb0c-48af-98b2-2a4447e26042%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup4K81TEN-P7Mn9MxivNpAn2nxvT7c%3DdWYjuaC%2BCSV0PiA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Candlestick - Multiple Series - Different Alignment

2016-03-19 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Joseph,

This is done intentionally, similarly to how bars are laid out next to each
other. The reasoning for this is that if it wasn't done, the candlesticks
would overlap (although not in your case, since your data for each series
is wildly different).

I believe you can work around this behavior by only having one series with
some interval roles, although it'll probably take more work to get it
looking the way you want.

On Thu, Mar 17, 2016 at 1:24 PM <josephvi...@gmail.com> wrote:

> Hi All,
>
> In my project, I am using two sets of candlestick for a single attribute.
> I made use of the following type of data input:
>
> ['Attribute', 1, 8, 8, 8, 'Individual', 110,120,120,120],
>
> But the candlesticks are not aligned. Both have different center axes. Is
> there a way to align them, so that both have the same axis ?
>
> Thanks,
> Joseph.
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/8b5b682d-14d6-4a12-ae4e-8c379013395c%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/8b5b682d-14d6-4a12-ae4e-8c379013395c%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup7DRfpgE0jCcZCqBA00WsEVgR7XWQ0E-GpVuuyyrOgVww%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] One or more participants failed to draw(). Help please.

2016-03-19 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Joshua,

The new loader (the one via gstatic) does not yet support dynamic loading
(specifying a class in a ChartWrapper that isn't actually explicitly loaded
via google.charts.load). You need to explicitly specify all packages you
use in your google.charts.load call. See this jsfiddle:
https://jsfiddle.net/5jj9t64o/

On Thu, Mar 17, 2016 at 5:47 PM Joshua Updyke <jupd...@gmail.com> wrote:

> Hello all,
>
> I am trying to get the dashboard features working on a line chart. But
> keep getting the following errors.
>
> One or more participants failed to draw()×
> Gender Selection:
> Choose a value...
>
> You called the draw() method with the wrong type of data rather than a
> DataTable or DataView×
>
> But I dont understand why. My data is in the form of a var data = new
> google.visualization.DataTable(); I must be missing something simple. You
> can look at my code here:
> https://jsfiddle.net/xjop1dcy/
>
>
> Thanks in advance,
> Josh
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/3e90b5d5-c324-44ad-962b-2001b7c0f6f8%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/3e90b5d5-c324-44ad-962b-2001b7c0f6f8%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup5-wpQi_4zrQfYFA79uP%2BP9PWnfZZjy5JkRtkFOLDE%3DTQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Help needed on publishing 3 charts on the same HTML Page

2016-03-18 Thread 'Sergey Grabkovsky' via Google Visualization API
Fernando,

You can specify multiple packages in your google.charts.load function like
so: google.charts.load('current', {'packages':['corechart', 'gauge']});
You should still be able to keep the multiple
google.charts.setOnLoadCallback calls, but I would recommend that you
combine your drawChart functions into one instead of doing that.

On Fri, Mar 18, 2016 at 3:55 PM Fernando Labombarda <flabomba...@gmail.com>
wrote:

> Thanks for the very quick feedback pointing the issue.
> It makes sense, I reviewed the page you sent with the details, but in my
> Case I have 2 different charts, line and another one Gauge.
> I don't know how to workaround this, the example of the link you sent
> mention 2 charts from the same type, so they can "share" the same
> google.carts.load() function.
>
> Any clue ?
>
> Many thanks again !
>
>
> On Friday, March 18, 2016 at 4:44:27 PM UTC-3, Sergey wrote:
>
>> Hello Fernando,
>>
>> Your issue is that you're including the loader.js script multiple times
>> and calling google.charts.load multiple times. You should not include
>> loader.js multiple times under any circumstances. However, the multiple
>> google.charts.load call issue should be fixed in a subsequent release. In
>> the meantime, change your first google.charts.load call to include all your
>> packages.
>>
>> On Fri, Mar 18, 2016 at 3:25 PM Fernando Labombarda <flabo...@gmail.com>
>> wrote:
>>
> Hello everyone,
>>>
>>> I need some help to identify what is wrong. Basically I need to publish
>>> 3 charts on 1 HTML page.
>>> Is working fine for the first 2 (line chart) but the 3rd one is Gauge,
>>> it doesn't come up and I can't find the reason.
>>> The page can be visualized from here:
>>> http://flabombarda.net16.net/view.php
>>>
>>> Can someone with better experience help me identifying what is wrong ?
>>>
>>> What is curious is the fact that if I put the code of the 3rd one on a
>>> separated HTML, without the other 2, it works, so looks like there is a
>>> naming conflict that I cannot find.
>>> I already renamed the function drawChart (like I did for the previous
>>> charts) but still not working.
>>>
>>> Any help would be appreciated.
>>>
>>> --
>>> 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 google-visualization-api+unsubscr...@googlegroups.com.
>>>
>> To post to this group, send email to google-visua...@googlegroups.com.
>>
>>
>>> Visit this group at
>>> https://groups.google.com/group/google-visualization-api.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/google-visualization-api/b2906428-da46-4f80-aa2d-01ddf9272002%40googlegroups.com
>>> <https://groups.google.com/d/msgid/google-visualization-api/b2906428-da46-4f80-aa2d-01ddf9272002%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>>
>> *[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
>> gra...@google.com*
>>
>> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/d8b27870-cce1-423e-b238-75e71cb38e45%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/d8b27870-cce1-423e-b238-75e71cb38e45%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup62CO3iv2SidbJCWWfgv7_1m1ztZmDcaEu7ijXnC%3DDj2w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Chartwrapper, Map, infowindows and tooltips

2016-03-18 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Simon,

I looked into doing this. From a very short look into this, it appears that
we do explicitly control generating titles for points on the map. I'll look
into making this change, and hopefully you'll see it reflected in the next
release.

On Fri, Mar 18, 2016 at 1:51 PM 'Daniel LaLiberte' via Google Visualization
API <google-visualization-api@googlegroups.com> wrote:

> Looks like there are lots of choices:
> https://developers.google.com/maps/support/
>
> On Fri, Mar 18, 2016 at 1:19 PM, 'Simon Banton' via Google Visualization
> API <google-visualization-api@googlegroups.com> wrote:
>
>> Thanks again Daniel,
>>
>> Being new to using the Maps API I don't know how to get hold of the Maps
>> folks - do they have an approved route?
>>
>> The StackOverflow post I'd seen before, but doesn't do the trick
>> unfortunately.
>>
>> Cheers
>> Simon
>>
>> --
>> 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 google-visualization-api+unsubscr...@googlegroups.com.
>> To post to this group, send email to
>> google-visualization-api@googlegroups.com.
>> Visit this group at
>> https://groups.google.com/group/google-visualization-api.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/google-visualization-api/1926926e-d7f5-4cf9-b3fc-05f9a374e364%40googlegroups.com
>> <https://groups.google.com/d/msgid/google-visualization-api/1926926e-d7f5-4cf9-b3fc-05f9a374e364%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
> dlalibe...@google.com <dlalibe...@google.com>   5CC, Cambridge MA
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJMUiZiPo1fZ3qry%2BrmQ6uKZt8%2BiHGFX-ZvX-fqk-P%3DXNg%40mail.gmail.com
> <https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJMUiZiPo1fZ3qry%2BrmQ6uKZt8%2BiHGFX-ZvX-fqk-P%3DXNg%40mail.gmail.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup7jbV5eLyn7P8r9hZuPk5nqDEcf%3Dbg1vBKTxZ7qjoSKMw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Chartwrapper, Map, infowindows and tooltips

2016-03-15 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Simon,

I would guess that this is because you use the 'old' spreadsheets URL. You
should be able to use just a regular Sheets URL, copied from the address
bar, like:
https://docs.google.com/spreadsheets/d/{key}/edit

Please change that in your example page, and I'll try again.

On Mon, Mar 14, 2016 at 8:12 PM 'Simon Banton' via Google Visualization API
<google-visualization-api@googlegroups.com> wrote:

> On Monday, March 14, 2016 at 1:55:23 PM UTC, Sergey wrote:
>>
>> Hi Simon,
>>
>> When running your example, I the following error in the console: Missing
>> query for request id: 0
>>
>
> Googling for this particular error message, I find a thread that says it
> occurs when the data source does not respond with the reqid that was
> supplied in the tqx parameter of the query (the reqid being used to
> identify which response matches which request in the event of multiple
> requests).
>
> Since my data source is a Google Spreadsheet, and the response returned is
> therefore outside my direct control, and given that the response returned
> actually contains:
>
> /*O_o*/
>
> google.visualization.Query.setResponse({"version":"0.6","reqId":"0","status":"ok","sig":"1840072697",...[snip]
>
> ... which appears to contains the correct request ID, I'm a little
> confused as to how I will be able to correct this problem. The same code
> works in Firefox and Safari (though I can confirm the error is reported in
> Chrome).
>
> Thanks for the reply though - have you any insight into how I may proceed?
>
> Regards
> Simon
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/01ecaf96-b631-48b0-a9b4-81dafd1dea75%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/01ecaf96-b631-48b0-a9b4-81dafd1dea75%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup7SZEAko1eZR7nRux_2nti4W1HpfK7st%3DECMfX5gCxa%3Dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Geochart (Philippines)

2016-03-14 Thread 'Sergey Grabkovsky' via Google Visualization API
You can do this by setting the 'region' option to 'PH' (the Philippines
ISO-3166-2 code), and the 'resolution' option to 'provinces'. Here is an
example: http://jsfiddle.net/ja635kkL/

You may use this Wikipedia page
<https://en.wikipedia.org/wiki/ISO_3166-2:PH> to figure out which code maps
to your desired region.

On Sun, Mar 13, 2016 at 11:35 PM Ryan Homer <sherwin...@gmail.com> wrote:

> Hi there!
>
> I am trying to create a geochart with a map based in the Philippines.
> Unfortunately, whenever I try to generate one, the best geochart map I can
> get is South Eastern Asia. I wanted the geochart to focus only on the
> Philippines and have the color gradient be applied to its cities and
> provinces. Is this possible? Or can the geochart apply color gradients to
> countries only? Thanks in advance.
>
> The link below is the link I studied to generate the geochart.
>
>
> https://developers.google.com/chart/interactive/docs/gallery/geochart#region-geocharts
>
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/428c634d-ae4a-458b-b050-6fba8e4d23dc%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/428c634d-ae4a-458b-b050-6fba8e4d23dc%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup5Dm8KEQdkLXdBsD-xOkSW56CZ_mQY0d3oQTt09Asu94w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] heat maps

2016-03-14 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Petar,

We do not currently support heat maps.

On Sun, Mar 13, 2016 at 5:12 PM Petar Bujosevic <petarbujose...@gmail.com>
wrote:

> Is there anywhere an option to project data as heat maps?
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/05f2739b-4a1c-4afc-9b1d-b66441ccfb58%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/05f2739b-4a1c-4afc-9b1d-b66441ccfb58%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup5JKW5DFDkFTrxyJt%2B7OVieOk69miusCgz1w0VgC518Bg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] How can I synchronize one column chart when I zoom in the other column chart? ALSO!! How can I get top of column location in column chart?

2016-03-14 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Kyle,

We don't have any inherent support for drawing graphics across multiple
charts. Anything I suggest here will be a hack.

However, what you're asking for *is possible*! But extremely difficult.
What you'll need to do is create an svg or canvas element on top of both
your charts to contain the graphics that you will render. Then render the
desired graphics on that canvas/svg element. The only tricky part will be
calculating the positions of your data, which is easily done with
getChartLayoutInterface.

On Sun, Mar 13, 2016 at 4:28 AM Kyle Kim <manhood1...@gmail.com> wrote:

> Hi Sergey,
>
>
> Sorry for delay and thank you for answering my questions so fast!! :D
>
> 1. I'm using explorer mode now. :< However, it's okay if I can draw lines
> from the columns on the upper chart to the columns on the lower chart.
>
> 2. Here is jsfiddle url. https://jsfiddle.net/daegon_kyle/Lvd63a4u/25/
> Please give me advice.
> It's what I want to make. *(y1(Upper chart)--y1(Lower chart))*
>
>
> <https://lh3.googleusercontent.com/-1tdlFd1r9O0/VuURJfuWQ9I/BKc/NVa-W_s2vPAaTPHeY73L-vpRjhANX88Mg/s1600/drawLinesBetweenCharts.jpg>
>
> I'll look forward to your reply.
>
> 2016년 3월 1일 화요일 오전 12시 16분 43초 UTC+9, Sergey 님의 말:
>>
>> Hi Kyle,
>>
>> 1. If you're using explorer mode, there is sadly still no way to
>> synchronize the zoom levels of multiple charts. If you are not using
>> explorer mode, please gives us an example of how you're doing zoom, as
>> there may be hope for you yet!
>>
>> 2. You can use the getChartLayoutInterface API in order to convert chart
>> canvas coordinates to screen coordinates. If you can construct a jsfiddle
>> of one of your charts, I can show you how to do this.
>>
>> Your English is great!
>>
>> In the future, please provide a jsfiddle example of what you're trying to
>> do. This will allow us to help you more quickly.
>>
>> On Sat, Feb 27, 2016 at 8:48 PM Kyle Kim <manho...@gmail.com> wrote:
>>
> Hi. My name is Kyle and I'm a newbie in Google Visualization API.
>>> I tried to find solutions for these two issues for some days, but I
>>> didn't find it.
>>>
>>> *1. How can I synchronize one column chart when I zoom in the other
>>> column chart?*
>>> I'm using two column charts and they are using different data but the
>>> same columns. When I zoom in one column chart, I want to make the other
>>> column chart zoom in together.
>>> I saw a post and he said that there is no way to synchronize two charts. 
>>> *(in
>>> 2009 by Google employee)*
>>> However, this year is 2016 so I hope Googe solved this issue.
>>> Please advise to me!!
>>>
>>> *2. How can I get a top of column location in column chart?*
>>> I tried to get a top of column location in column chart, but I can't
>>> estimate it. Because the data which I'll put in is different every time.
>>> The reason why I need it is because I want to connect the columns in one
>>> column chart to the columns in the other chart.
>>>
>>> Is there any way to solve these two issues? [Please understand my
>>> English]
>>> Thanks in advance!! :D (
>>> https://developers.google.com/chart/interactive/docs/gallery/columnchart
>>> )
>>>
>>> --
>>> 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 google-visualization-api+unsubscr...@googlegroups.com.
>>>
>> To post to this group, send email to google-visua...@googlegroups.com.
>>
>>
>>> Visit this group at
>>> https://groups.google.com/group/google-visualization-api.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/google-visualization-api/9943fcff-10cd-45e2-977e-ccf441c5f195%40googlegroups.com
>>> <https://groups.google.com/d/msgid/google-visualization-api/9943fcff-10cd-45e2-977e-ccf441c5f195%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>>
>> *[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
>> gra...@google.com*
>>
>> --
> 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 google-visualization-api+unsubscr...@

Re: [visualization-api] Discussion about Column Chart customization

2016-03-14 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi,

Here are answers to your questions in order:
1) In order to get rid of the spacing around the chart, you need to set
your 'chartArea' options.
2) Presumably you're talking about the gridlines here? These can be gotten
rid of by setting the vAxis.gridlines.count setting to 0.
3) This will happen once your chart size actually matches your div size and
you've gotten rid of the space around the chart area (#1).
4) Sadly, this is not trivial. In order to actually do this, you will have
to use a numeric axis with custom ticks.

Here's a jsfiddle example of all the things you requested:
http://jsfiddle.net/jmqug9un/

On Sat, Mar 12, 2016 at 7:35 PM <crazycham...@gmail.com> wrote:

> Hi Guys,
>
> Below is the sample Code
>  https://www.gstatic.com/charts/loader.js&quot</a>;>
>   
> google.charts.load("current", {packages:['corechart']});
> google.charts.setOnLoadCallback(drawChart);
> function drawChart() {
>   var data = google.visualization.arrayToDataTable([
> ["Element", "Density", { role: "style" } ],
> ["Copper", 8.94, "#b87333"],
> ["Silver", 10.49, "silver"],
> ["Gold", 19.30, "gold"],
> ["Platinum", 21.45, "color: #e5e4e2"],
>   ["Emerald", 21.45, "color: green"]
>   ]);
>
>   var view = new google.visualization.DataView(data);
>   view.setColumns([0, 1,
>{ calc: "stringify",
>  sourceColumn: 1,
>  type: "string",
>  role: "annotation" },
>2]);
>
>   var options = {
> title: "Density of Precious Metals, in g/cm^3",
> width: 600,
> height: 400,
> bar: {groupWidth: "95%"},
> legend: { position: "none" },
>   };
>   var chart = new
> google.visualization.ColumnChart(document.getElementById("columnchart_values"));
>   chart.draw(view, options);
>   }
>   
> 
>
> Current Output:
>
>
> <https://lh3.googleusercontent.com/-lFrHt18e1ck/VuSx_iQtUiI/AAM/EoljioNkiy8aJkXlX660Xs1osr8MVBAPA/s1600/Output.PNG>
>
>
>
> Expected output:
>
>
> <https://lh3.googleusercontent.com/-6oANk5y749s/VuS1ZfBamBI/AAw/RFs2Vi4alq4S2tg2z18qkR9fZBozU2b9g/s1600/Output.PNG>
>
>
>
> Please see the different b/w Current output and Expected output
>
> Issues in the Current output:
>
> 1. Extra spaces in the chart area. I tried to reduce the width of the div
> and still i am unable to remove the white space in the chart area.
> 2. Horizontal line needs to be removed
> 3. Need to make the chart in fit to the div border.
> 4.Y axis values need not show but the line needs to be there
>
> I have attached my sample code as well. I request anyone to help me to
> achieve this requirement. Any sample code would be much appreciated.
>
> Thanks
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/baf1ae3f-761b-419c-8de2-61df754bb031%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/baf1ae3f-761b-419c-8de2-61df754bb031%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup5fivPme-2YBsV4b1S4qf90aR1xF-cbCR5NoqS3RmiD9Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Chartwrapper, Map, infowindows and tooltips

2016-03-14 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Simon,

When running your example, I the following error in the console: Missing
query for request id: 0

Please either:

a) fix this issue and reply

or (better)

b) Distill your example into a simple jsfiddle that we can iterate on.

On Sat, Mar 12, 2016 at 6:05 PM 'Simon Banton' via Google Visualization API
<google-visualization-api@googlegroups.com> wrote:

> Hi,
>
> The data format for a Chartwrapped Map visualization seems very
> constrained - lat, long, text.
>
> The last of these is used both for the Infowindow content that shows when
> you click a marker and - it appears - it is also being used for the
> automatic yellow-backgrounded tooltip that appears when hovering over a
> marker.
>
> I'm pulling the data for the map from a Google Spreadsheet which has many
> columns.
>
> In the spreadsheet I'm generating the HTML text content for the Infowindow
> by concatenating several columns together.
>
> In the visualization, I'm using an SQL query that selects just three of
> these columns: lat, long and this generated text.
>
> My problem is that the yellow-background tooltip displays the HTML tags.
> These are necessary for the Infowindow, and a nuisance in the tooltip.
>
> Is there any way to either:
>
> a) suppress the display of the yellow tooltips entirely
>
> or (better)
>
> b) force the visualization to make use of a different column in the
> spreadsheet for the tooltip (obviously I can then select a fourth column
> which contains non-HTML text for use in the tooltip)
>
> The example code is here: http://web.org.uk/tmp/barrowmap/v12.html
>
> Try hovering over a marker to see the problem. Clicking a marker works as
> desired.
>
> Many thanks for any help - trying to Google up a solution is proving
> somewhat difficult.
>
> S.
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/17a13f23-6190-4b1d-b279-55e4db20d9db%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/17a13f23-6190-4b1d-b279-55e4db20d9db%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup7Sj3TwJse_A3ATSbYRtx51HrTFjQ35KwFj8RTeuv_FOg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Re: Как сделать выделение сразу по всем линиям графика

2016-03-10 Thread 'Sergey Grabkovsky' via Google Visualization API
Sorry, this is not currently possible.

On Thu, Mar 10, 2016 at 10:22 AM Артемий Гаврюшин <arteme...@gmail.com>
wrote:

> А можно ли "crosshair" задачи ширину полоски?
>
> четверг, 3 марта 2016 г., 15:32:33 UTC+3 пользователь Артемий Гаврюшин
> написал:
>
>> http://c3js.org/samples/chart_area.html
>> http://prntscr.com/aan7yh
>>
>> Как сделать, чтобы появлялись данные по срезу, сразу по всем линиям.
>>
>> В google chart я вижу, что можно увидеть информацию за нужную дату, но
>> только по одной линии - http://prntscr.com/aan93b
>>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/0bd71939-2779-418d-a318-2b562981ac05%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/0bd71939-2779-418d-a318-2b562981ac05%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup5Ei6mdXe2osJFGrG9GE2j%3DtHz3e5eThj1318%3DaY1%3DzYw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] different between new google.charts.Bar & google.visualization.ComboChart

2016-03-10 Thread 'Sergey Grabkovsky' via Google Visualization API
gt;> }
>> },
>> hAxis: {
>> title: "Locations",
>> textStyle: {
>> color: 'black'
>> }
>> },
>> bars: 'horizontal', //for showing bars horizontal
>> series: {
>> 0: {
>> targetAxisIndex: 0,
>> color: '#F3C1BC'
>> },
>> 1: {
>> targetAxisIndex: 0,
>> color: '#E7827A'
>> },
>> 2: {
>> targetAxisIndex: 0,
>> color: '#DB4437'
>> }
>> }
>> }));
>> google.visualization.events.addListener(chartnew,
>> 'ready', myReadyHandler);
>> }
>> } else {
>> $('#AllLoc').text("All Incident By Location");
>> $("#div_id_9").html(message);
>> myReadyHandler(); // increment the g_var by 1 if no
>> record exists otherwise program thought still one chart not redered. by NG
>> 02/16/2016
>> }
>> },
>> error: function(x, e) {
>> alert(x.responseText);
>> }
>> });
>> }
>>
>> function addCode(code) {
>> var JS = document.createElement('script');
>> JS.text = code;
>> document.body.appendChild(JS);
>> }
>>
>> Thanks
>> Natarajan Govindavel
>>
>>
>> On Tuesday, February 16, 2016 at 8:57:53 PM UTC+5:30, Sergey wrote:
>>
>> Natarajan,
>>
>> We've seen a number of bugs with multiple Material charts not rendering
>> on the same page. I was under the impression that these issues were all
>> fixed (presuming you're using the latest Charts code). It is highly likely
>> that the issues are due to *how* you're using Charts, and not due to
>> Charts code itself. However, it is also possible that there's still a bug.
>> Without seeing the code that you're using, I couldn't say whether this is a
>> bug in our code or in yours.
>>
>> On Mon, Feb 15, 2016 at 10:09 AM natarajan govindavel <
>> natara...@gmail.com> wrote:
>>
>> Hi Sergey,
>>
>> I have dynamically loading multiple charts in same page using jquery and
>> ajax.
>> Sometimes ( not frequent  and random manner ) some of the charts not
>> displayed.
>> Is this known issue? Is there any workaround for this.
>> Please guide me.
>>
>> Thanks
>> Natarajan Govindavel
>>
>>
>> On Monday, February 1, 2016 at 3:15:29 PM UTC+5:30, natarajan govindavel
>> wrote:
>>
>> Hi Sergey,
>>
>> I have multiple charts on the same page.Everything working fine one of
>> the chart bar color not applied properly.
>> It shows the default color(blue). I faced this issue only in IE 9 and IE
>> 10.
>> i given my code below. please advice me
>>
>>  var chartnew = new
>> google.charts.Bar(document.getElementById('div_id_9'));
>>  chartnew.draw(dataArray[8],
>> google.charts.Bar.convertOptions({
>>  width: 1000,
>>  height: 330,
>>  titlePosition: 'none',
>>  legend: { position: 'right'},
>>  isStacked: true,
>>  vAxis: {title: "Incident Count",textStyle: {color:
>> 'black'}},
>>  hAxis: {title: "Locations",textStyle: {color:
>> 'black'}},
>>  series: {
>> 0:{
>> targetAxisIndex: 0,
>> color:'#F3C1BC'
>> },
>> 1:{
>> targetAxisIndex: 0,
>> color:'#E7827A'
>> },
>> 2:{
>> targetAxisIndex: 0,
>> color:'#DB4437'
>> }
>>

Re: [visualization-api] Specific background colors for parts of a line charts?

2016-03-09 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Joshua,

Here is a jsfiddle that I built for someone the other day:
http://jsfiddle.net/qr7xLb71/

I hope it helps you get started.


On Wed, Mar 9, 2016 at 2:59 PM Joshua Updyke <jupd...@gmail.com> wrote:

> Daniel,
>
> Thank you for the fast response. Sometimes it is all about figuring out
> the name of the thing you are looking for. I will read through the page
> about the roles and give it a shot. I might come back and pick your brain
> once I know some more intelligent questions.
>
> Once again, thanks for the speedy reply. Gotta love an active group.
> josh
>
> On Wednesday, March 9, 2016 at 2:53:59 PM UTC-5, Daniel LaLiberte wrote:
>
>> Hi Josh,
>>
>> You could implement these charts with a couple different techniques.
>> Here are some hints.  I can help you further if you set up an example,
>> perhaps at jsfiddle.net.
>>
>> For the second case, you can specify a 'style' role after the data for
>> the area that changes the color or opacity of the area.  See
>> https://developers.google.com/chart/interactive/docs/roles#what-are-roles
>>
>> For the vertical color bands, you would have to add a data series that
>> represents each of the bands, and change the style of each band in a
>> similar way with the 'style' roie.
>>
> On Wed, Mar 9, 2016 at 2:37 PM, Joshua Updyke <jup...@gmail.com> wrote:
>>
> Hello all,
>>>
>>> I was wondering if anyone knew if it was possible to put vertical color
>>> bands on part of a google line chart? Attache is a picture of basically
>>> what I want to do. Is it possible to do something like this? If so can
>>> anyone point me to either an example or just the option name so I can do
>>> some research on it?
>>>
>>> <http://i.stack.imgur.com/YEpis.png>
>>>
>>>
>>> Alternatively, Is it possible to color in the area under part of a line
>>> series? Perhaps something like this? I if I need to split up my I can do
>>> that too.
>>>
>>>
>>> <http://www.exceldashboardtemplates.com/wp-content/uploads/2013/05/image_thumb.png>
>>>
>>>
>>> Thanks in advance,
>>>
>>> Josh
>>>
>>>
>>>
>>>
>>> --
>>> 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 google-visualization-api+unsubscr...@googlegroups.com.
>>>
>> To post to this group, send email to google-visua...@googlegroups.com.
>>
>>
>>> Visit this group at
>>> https://groups.google.com/group/google-visualization-api.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/google-visualization-api/c66060e2-373a-4296-978e-3edb8b3e48d0%40googlegroups.com
>>> <https://groups.google.com/d/msgid/google-visualization-api/c66060e2-373a-4296-978e-3edb8b3e48d0%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
>> dlali...@google.com   5CC, Cambridge MA
>>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/10fc89f8-f953-4054-8c67-27efecdfc734%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/10fc89f8-f953-4054-8c67-27efecdfc734%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup4FcKBXUtpgBORLJ1%2BeEqRtUmk-qG5%3Dxs33Wef%2Bovw3Pw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] How to code an email to render a Google Chart in an email or a viable alternative.

2016-03-09 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi JPC,

I'm under the impression that JavaScript execution is either severely
limited or disabled in most (if not all) email clients. So a live Google
Chart is out of the question. One thing that you could do is to save an
image of your desired chart via getImageURI
<https://developers.google.com/chart/interactive/docs/printing>, however
this will require you to first render your chart in a browser, capture the
image data URL and embed that image in your email. Another alternative
would be to use our deprecated image charts
<https://developers.google.com/chart/image/>, which work by constructing a
URL to a server that serves an image back.

On Tue, Mar 8, 2016 at 11:50 PM JPC <military...@gmail.com> wrote:

> *I am trying to take server side acquired data, wrapped in HTML, PHP code,
> Javascript or whatever, to build code then sent via mail so the the
> recipient's browser shows him a graphic, *
>
> I've tried to use Google Charts Quickstart code (
> https://developers.google.com/chart/interactive/docs/quick_start)
>
> I've tried for three days to get it to work in a PHP email executed from
> the BASH shell, e.g. *php t5.php*
> I am able to successfully send basic HML in the mail php template code
> below.
>
> I took the quick-start code (above) and put it in the PHP email template
> (below) , being careful to change the proper double quotes (") to single
> quotes ('). See attached code (t5.php).
>
> *
> * $to .= 'y...@gmail.com <y...@gmail.com>';*
>
>
> * $subject = 'Google Chart';*
>
> *$message = "*
> **
> *.*
> *.see attached file with Google quick-start source*
> *.*
> **
> *";*
>
>
> *$headers = 'MIME-Version: 1.0' . "\r\n";*
> *$headers .= 'Content-type:text/html;charset=UTF-8' . "\r\n";*
>
> *mail($to,$subject,$message,$headers);*
> *?>*
>
> So, I'm wondering if I have an improper Header or if Javascript is an
> issue or if I've done something stupid with quotes.
>
> I've searched Google, several forums, Github, etc. for to find a simple
> working example of a Google Chart embedded in an email using a process that
> can be automated. No joy.
> Perhaps this cannot be done via mail and can only be done from a website?
>
> It has been suggested that I take screenshots and send the .png or .jpg to
> my target recipient - not a process that can be automated.
>
>
>1. *If for some reason this can't be done, I'd like to know.*
>2. *If it can be done, I'd love to see an example. *
>3. *If there is a better way to send data, wrapped in HTML, PHP code,
>Javascript or whatever, to build code then sent via mail so the the
>recipient's browser shows him a graphic, I would love to know what it is. *
>
> Thank you.
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/4512d9e6-f730-4122-9a5c-b0dbffe4a780%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/4512d9e6-f730-4122-9a5c-b0dbffe4a780%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup7Oo9oHFmyaQ5BWd415UUShVTKNNY1DJZKM8xUPW9h74w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] different between new google.charts.Bar & google.visualization.ComboChart

2016-03-08 Thread 'Sergey Grabkovsky' via Google Visualization API
rts in same page using jquery and
>> ajax.
>> Sometimes ( not frequent  and random manner ) some of the charts not
>> displayed.
>> Is this known issue? Is there any workaround for this.
>> Please guide me.
>>
>> Thanks
>> Natarajan Govindavel
>>
>>
>> On Monday, February 1, 2016 at 3:15:29 PM UTC+5:30, natarajan govindavel
>> wrote:
>>
>> Hi Sergey,
>>
>> I have multiple charts on the same page.Everything working fine one of
>> the chart bar color not applied properly.
>> It shows the default color(blue). I faced this issue only in IE 9 and IE
>> 10.
>> i given my code below. please advice me
>>
>>  var chartnew = new
>> google.charts.Bar(document.getElementById('div_id_9'));
>>  chartnew.draw(dataArray[8],
>> google.charts.Bar.convertOptions({
>>  width: 1000,
>>  height: 330,
>>  titlePosition: 'none',
>>  legend: { position: 'right'},
>>  isStacked: true,
>>  vAxis: {title: "Incident Count",textStyle: {color:
>> 'black'}},
>>  hAxis: {title: "Locations",textStyle: {color:
>> 'black'}},
>>  series: {
>> 0:{
>> targetAxisIndex: 0,
>> color:'#F3C1BC'
>> },
>> 1:{
>> targetAxisIndex: 0,
>> color:'#E7827A'
>> },
>> 2:{
>> targetAxisIndex: 0,
>> color:'#DB4437'
>> }
>> }
>>  }));
>> }
>>
>> Thanks
>> Natarajan Govindavel.
>>
>> On Friday, January 29, 2016 at 8:35:27 PM UTC+5:30, Sergey wrote:
>>
>> Forgot to answer the second part of your question, about the jsfiddle. If
>> you're asking whether the Classic Charts support axis formatting options,
>> they do: https://jsfiddle.net/88z92w4p/
>>
>> On Fri, Jan 29, 2016 at 10:03 AM Sergey Grabkovsky <gra...@google.com>
>> wrote:
>>
>> I don't have any estimates for when you might expect getImageURI for
>> Material Charts. We are currently prioritizing other features.
>>
>> On Fri, Jan 29, 2016 at 1:46 AM natarajan govindavel <natara...@gmail.com>
>> wrote:
>>
>> Hi Sergey,
>>
>> Thank you so much for your help. And one more help
>> When can we expect this feature (getImageURI()) because one of my client
>> really want this.
>> Can we do this kind dynamic charts in Classical Chart(ref below)?
>> https://jsfiddle.net/vqaLpc23/
>>
>> Thanks
>> Natarajan
>>
>>
>> On Thursday, January 28, 2016 at 8:31:40 PM UTC+5:30, Sergey wrote:
>>
>> Hi Natarajan,
>>
>> Your jsfiddle link doesn't link to your jsfiddle (it just links to an
>> empty fiddle). You need to save your fiddle before it gives you a valid
>> link. Presumably, you're talking about .getImageURI(), which is not
>> supported for Material Charts.
>>
>> On Thu, Jan 28, 2016 at 6:28 AM natarajan govindavel <natara...@gmail.com>
>> wrote:
>>
>> Hi Sergey,
>>
>> Do we have Export Option in Material Chart?
>> Can we do this kind dynamic charts in Classical Chart(ref below)?
>> https://jsfiddle.net/api/post/library/pure/
>>
>> Thanks
>> Natarajan Govindavel
>>
>>
>> On Monday, January 25, 2016 at 9:01:05 PM UTC+5:30, Sergey wrote:
>>
>> Hi Natarajan,
>>
>> The issue you are talking about now is a known issue. There are known
>> issues with text measurement with invisible divs. The recommended
>> workaround is to delay the chart rendering until the div becomes visible.
>>
>> On Mon, Jan 25, 2016 at 10:09 AM natarajan govindavel <
>> natara...@gmail.com> wrote:
>>
>> Hi Sergey,
>>
>> Thank you for your reply.
>> I have one more problem.
>> The Chart inside the tab which is not active(div display:none). The chart
>> not displayed properly.
>> If i make it visibility : Hidden/Visible it is rendering properly but
>> shows lot of empty space in the page.
>> Is this issue resolved?
>> Any fix available for this?
>>
>>
>>
>> On Friday, January

Re: [visualization-api] Maps: Support for drawing markers and regions on the same map.

2016-03-07 Thread 'Sergey Grabkovsky' via Google Visualization API
documentation/javascript/>and Charts
>>> <https://google-developers.appspot.com/chart/interactive/docs/gallery/map>
>>> aren't consolidated into one full featured API?
>>>
>>> There are also partially featured custom Maps in Google Maps and Google
>>> Sheets, it would be great to have more features by combining these two.
>>>
>>> --
>>> 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 google-visualization-api+unsubscr...@googlegroups.com.
>>>
>> To post to this group, send email to google-visua...@googlegroups.com.
>>
>>
>>> Visit this group at
>>> https://groups.google.com/group/google-visualization-api.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/google-visualization-api/a9a2de6c-3014-4952-acc6-2c49fca4188d%40googlegroups.com
>>> <https://groups.google.com/d/msgid/google-visualization-api/a9a2de6c-3014-4952-acc6-2c49fca4188d%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>>
>> *[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
>> gra...@google.com*
>>
>> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/97f5a581-5d1e-4fe5-97b2-c9584419%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/97f5a581-5d1e-4fe5-97b2-c9584419%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup7PfaR_r0QtHWZuLUmcwoP2SWrSqCEVaQaFjyVEvRahnQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Re: line chart unit should be in english not in german

2016-03-07 Thread 'Sergey Grabkovsky' via Google Visualization API
The old loader has the capability to set the language based on signals like
your location (although I'm not sure that it actually uses your location),
so yes you're correct: these charts will look different for users in other
locales.

On Mon, Mar 7, 2016 at 1:03 PM Nadja <nkuest...@web.de> wrote:

> Thank you very much.
> I will try it tomorrow.
> I am right, that the API set the language to my location?
> If it is like that, it is no problem I only need the units in other
> countries not in german.
> Nadja
>
>
> Am Montag, 7. März 2016 18:33:07 UTC+1 schrieb Nadja:
>
>> Hello,
>>
>> I have a line chart.
>> If the numbers are very big, it is shown like this "24Tsd.". but "Tsd."
>> is german, isn't it? How can I change it to english?
>> Thank you very much
>> Nadja
>>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/602043a7-a0d4-4fa0-b098-c8920403c7ab%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/602043a7-a0d4-4fa0-b098-c8920403c7ab%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup6iSdMjCdf3t7z5S9jyvZ6Jn6fTOQuHsQGFmn-MDyUzyw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Re: line chart unit should be in english not in german

2016-03-07 Thread 'Sergey Grabkovsky' via Google Visualization API
It appears to be as I've guessed. You're still using the old loader
(google.load). Please follow the instructions in our documentation
<https://developers.google.com/chart/interactive/docs/basic_load_libs> and
let me know if it helps.

On Mon, Mar 7, 2016 at 12:57 PM Nadja <nkuest...@web.de> wrote:

> The code is like this:
>  
> google.load('visualization', '1.1', {packages: ['line']});
> google.setOnLoadCallback(drawChart);
>
> function drawChart() {
>
>   var data = new google.visualization.DataTable();
>   data.addColumn('string', 'Time');
>  if(<?php if(isset($cha1)) echo $cha1; else echo "0"; ?>==1) {data.
> addColumn('number', 'Zone 1');}
>   if(<?php if(isset($cha2)) echo $cha2; else echo "0"; ?>==1){ data.
> addColumn('number', 'Zone 2');}
>   if(<?php if(isset($cha3)) echo $cha3; else echo "0"; ?>==1) {data.
> addColumn('number', 'Zone 3');}
>   if(<?php if(isset($temp)) echo $temp; else echo "0"; ?>==1) {data.
> addColumn('number', 'Temp');}
>
>  data.addRows(<?php echo $chart_data ?>);
>
> //alle WErte
>   if(<?php if(isset($axe)) echo $axe; else echo "0"; ?>==1){
>   var options = {
> chart: {
>   title: 'Data'
> },
>
> height:600,
> chartArea:{left:30,top:30,width:'100%',height:600},
> series: {
>   // Gives each series an axis name that matches the Y-axis below.
>
>  0: {axis: 'ppm'},
>  1:{axis: 'ppm'},
>  2:{axis: 'ppm'},
>  3:{axis: 'C'},
>
> },
> axes: {
>   // Adds labels to each axis; they don't have to match the axis
> names.
>  y: {
> ppm: {label: '<?php echo $unitaktuell ?>'},
> C: {label: '°C'}
>
>   }
> }
>
>   };} var chart = new google.charts.Line(document.getElementById(
> 'linechart_material'));
>
>   chart.draw(data, options);
> }
>
> // Make the charts responsive
>   jQuery(document).ready(function(){
> jQuery(window).resize(function(){
>   drawChart();
> });
>   });
>
>   
>
>
>
> Am Montag, 7. März 2016 18:33:07 UTC+1 schrieb Nadja:
>
>> Hello,
>>
>> I have a line chart.
>> If the numbers are very big, it is shown like this "24Tsd.". but "Tsd."
>> is german, isn't it? How can I change it to english?
>> Thank you very much
>> Nadja
>>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/1a1177e8-8c15-4033-804b-2c17a63dcb05%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/1a1177e8-8c15-4033-804b-2c17a63dcb05%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup6QBR%2ByiUtQ6HMyDUcUpo3qiAK-sFcTDts%3DJHbdw6Ev1g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] line chart unit should be in english not in german

2016-03-07 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Nadja,

Could you please post some sample code where you see this issue?

On Mon, Mar 7, 2016 at 12:33 PM Nadja <nkuest...@web.de> wrote:

> Hello,
>
> I have a line chart.
> If the numbers are very big, it is shown like this "24Tsd.". but "Tsd." is
> german, isn't it? How can I change it to english?
> Thank you very much
> Nadja
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/405964a6-3fea-43b0-ba80-63a4ca7cf475%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/405964a6-3fea-43b0-ba80-63a4ca7cf475%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup5a7urDZD2c6VwLKt_Lrs0t-UXK-HH3NGPJvuAfczUHXQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Re: line chart unit should be in english not in german

2016-03-07 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Nadja,

The image is not helpful. But without the code available, I'll attempt to
guess at what's wrong.

Most probably, this issue stems from specifying a language code when
calling .load.

The next most probable reason is that you're using google.load (instead of
google.charts.load) along with the old loader (www.google.com/jsapi), which
will attempt to auto-detect your locale.

I'm afraid I can offer no other guesses without seeing the code.

On Mon, Mar 7, 2016 at 12:50 PM Nadja <nkuest...@web.de> wrote:

> The graph is in a proteced area. But I have a image for you.
> I hope it will help.
> Nadja
>
>
> Am Montag, 7. März 2016 18:33:07 UTC+1 schrieb Nadja:
>>
>> Hello,
>>
>> I have a line chart.
>> If the numbers are very big, it is shown like this "24Tsd.". but "Tsd."
>> is german, isn't it? How can I change it to english?
>> Thank you very much
>> Nadja
>>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/6205ab73-01a8-4811-b562-e695741953f9%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/6205ab73-01a8-4811-b562-e695741953f9%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup7BWyyRB7-V9dt8QAwZn88foF%2BaW5SZSX4xp%2BoVbcFmxg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] different between new google.charts.Bar & google.visualization.ComboChart

2016-03-07 Thread 'Sergey Grabkovsky' via Google Visualization API
   titlePosition: 'none', //hiding chart title
>> legend: {
>> position: 'right' //place chart legend at
>> right side
>> },
>> isStacked: true, //for stacked chart
>> vAxis: {
>> title: "Incident Count",
>> textStyle: {
>> color: 'black'
>> }
>> },
>> hAxis: {
>> title: "Locations",
>> textStyle: {
>> color: 'black'
>> }
>> },
>> bars: 'horizontal', //for showing bars horizontal
>> series: {
>> 0: {
>> targetAxisIndex: 0,
>> color: '#F3C1BC'
>> },
>> 1: {
>> targetAxisIndex: 0,
>> color: '#E7827A'
>> },
>> 2: {
>> targetAxisIndex: 0,
>> color: '#DB4437'
>> }
>> }
>> }));
>> google.visualization.events.addListener(chartnew,
>> 'ready', myReadyHandler);
>> }
>> } else {
>> $('#AllLoc').text("All Incident By Location");
>> $("#div_id_9").html(message);
>> myReadyHandler(); // increment the g_var by 1 if no
>> record exists otherwise program thought still one chart not redered. by NG
>> 02/16/2016
>> }
>> },
>> error: function(x, e) {
>> alert(x.responseText);
>> }
>> });
>> }
>>
>> function addCode(code) {
>> var JS = document.createElement('script');
>> JS.text = code;
>> document.body.appendChild(JS);
>> }
>>
>> Thanks
>> Natarajan Govindavel
>>
>>
>> On Tuesday, February 16, 2016 at 8:57:53 PM UTC+5:30, Sergey wrote:
>>
>> Natarajan,
>>
>> We've seen a number of bugs with multiple Material charts not rendering
>> on the same page. I was under the impression that these issues were all
>> fixed (presuming you're using the latest Charts code). It is highly likely
>> that the issues are due to *how* you're using Charts, and not due to
>> Charts code itself. However, it is also possible that there's still a bug.
>> Without seeing the code that you're using, I couldn't say whether this is a
>> bug in our code or in yours.
>>
>> On Mon, Feb 15, 2016 at 10:09 AM natarajan govindavel <
>> natara...@gmail.com> wrote:
>>
>> Hi Sergey,
>>
>> I have dynamically loading multiple charts in same page using jquery and
>> ajax.
>> Sometimes ( not frequent  and random manner ) some of the charts not
>> displayed.
>> Is this known issue? Is there any workaround for this.
>> Please guide me.
>>
>> Thanks
>> Natarajan Govindavel
>>
>>
>> On Monday, February 1, 2016 at 3:15:29 PM UTC+5:30, natarajan govindavel
>> wrote:
>>
>> Hi Sergey,
>>
>> I have multiple charts on the same page.Everything working fine one of
>> the chart bar color not applied properly.
>> It shows the default color(blue). I faced this issue only in IE 9 and IE
>> 10.
>> i given my code below. please advice me
>>
>>  var chartnew = new
>> google.charts.Bar(document.getElementById('div_id_9'));
>>  chartnew.draw(dataArray[8],
>> google.charts.Bar.convertOptions({
>>  width: 1000,
>>  height: 330,
>>  titlePosition: 'none',
>>  legend: { position: 'right'},
>>  isStacked: true,
>>  vAxis: {title: "Incident Count",textStyle: {color:
>> 'black'}},
>>  hAxis: {title: "Locations",textStyle: {color:
>> 'black'}},
>>  series: {
>> 0:{
>> 

Re: [visualization-api] Maps: Support for drawing markers and regions on the same map.

2016-03-07 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Nathan,

We have talked internally at length about combining the different ways of
rendering the GeoChart, and have thought long and hard about how to do
this. We eventually chose to punt on this issue.

Personally, I don't like the idea of passing an array of things to
chart.draw very much, since that results in an inconsistent API, and this
is one of the things many of the users of our API (including our own
Controls and Dashboards) depend on. Adding a new form of arguments to
chart.draw would make things more complicated and confusing in that
respect. Our preference would be to either specify this information in one
DataTable or via options, but we were not able to decide on a consistent
way to do this.

The Goole Maps API vs Charts is a much deeper issue than I'd like to get
into here, but suffice it to say that these two APIs are developed by
different teams, that ultimately have different goals and use cases.

On Sun, Mar 6, 2016 at 12:28 PM Nathan Meryash <nat...@keenhome.io> wrote:

> It would be great if the chart.draw() method supported arrays so that one
> could draw regions and markers on the same map. It seems necessary as one
> needs to call different options arguments for regions and markers.
> Especially the displayMode.
>
> Example:
>
> chart.draw([
>   [regionsData, regionsOptions],
>   [markersData, markersOptions]
> ]);
>
> You called the draw() method with an Array rather than a DataTable or
> DataView
>
> It's also not clear why Google Maps Javascript API
> <https://developers.google.com/maps/documentation/javascript/>and Charts
> <https://google-developers.appspot.com/chart/interactive/docs/gallery/map>
> aren't consolidated into one full featured API?
>
> There are also partially featured custom Maps in Google Maps and Google
> Sheets, it would be great to have more features by combining these two.
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/a9a2de6c-3014-4952-acc6-2c49fca4188d%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/a9a2de6c-3014-4952-acc6-2c49fca4188d%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup5jpemRKoJ11MMRe1Qk-wUGsVfPtnihd9xjoyXXuo7ZYw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Google Charts - c.getTimezoneOffset is not a function

2016-03-03 Thread 'Sergey Grabkovsky' via Google Visualization API
p://jsfiddle.net/m0w4fn3v/
>>
>> If you're still having issues, please modify one of these jsfiddles (or
>> create your own) to exemplify the issue you're experiencing.
>>
> On Thu, Mar 3, 2016 at 12:26 PM Pete Carlile <peteca...@gmail.com> wrote:
>>
> Thanks Sergey.
>>>
>>> I change the first column to a string (the dates being just the axis in
>>> the graph and it worked fine).
>>>
>>> It appears you can not have a date field in col 1 when calling the
>>> LineChart function (I tried the correct syntax).
>>>
>>> Pete
>>>
>>>
>>> On Tuesday, 1 March 2016 16:08:47 UTC+1, Sergey wrote:
>>>
>>>> Hi Pete,
>>>>
>>>> Your JSON is not syntactically valid. Having "2016-03-02" as a raw
>>>> value is not proper. Please refer to our Dates and Times documentation
>>>> page
>>>> <https://developers.google.com/chart/interactive/docs/datesandtimes>
>>>> for guidance on how to use dates properly.
>>>>
>>>> On Tue, Mar 1, 2016 at 8:15 AM Pete Carlile <peteca...@gmail.com>
>>>> wrote:
>>>>
>>> Hi, trying to use a json create table and run though Google charts line
>>>>> chart. Getting error message. Any ideas.
>>>>>
>>>>> File being sent :
>>>>>
>>>>> { "cols" : [{"id" :
>>>>> "","label":"Date","pattern":"","type":"date"},{"id":"","label":"GBP","pattern":"","type":"number"},{"id":"","label":"USD","pattern":"","type":"number"},{"id":"","label":"CHF","pattern":"","type":"number"}],
>>>>> "rows" : [{"c" : [{"v":2016-02-29, "f":null},{"v":35657.00,
>>>>> "f":null},{"v":1000.00, "f":null},{"v":6626.45, "f":null}]},{"c" :
>>>>> [{"v":2016-03-01, "f":null},{"v":35657, "f":null},{"v":1000,
>>>>> "f":null},{"v":6626.45, "f":null}]},{"c" : [{"v":2016-03-02,
>>>>> "f":null},{"v":35657, "f":null},{"v":1000, "f":null},{"v":6626.45,
>>>>> "f":null}]},{"c" : [{"v":2016-03-03, "f":null},{"v":35657,
>>>>> "f":null},{"v":1000, "f":null},{"v":6626.45, "f":null}]},{"c" :
>>>>> [{"v":2016-03-04, "f":null},{"v":35657, "f":null},{"v":1000,
>>>>> "f":null},{"v":6626.45, "f":null}]},{"c" : [{"v":2016-03-05,
>>>>> "f":null},{"v":35657, "f":null},{"v":1000, "f":null},{"v":6626.45,
>>>>> "f":null}]}]}
>>>>>
>>>>> --
>>>>> 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 google-visualization-api+unsubscr...@googlegroups.com.
>>>>>
>>>> To post to this group, send email to google-visua...@googlegroups.com.
>>>>
>>>>
>>>>> Visit this group at
>>>>> https://groups.google.com/group/google-visualization-api.
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/google-visualization-api/0a14c8ef-f10e-4202-90ad-1b3ec5c6f44f%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/google-visualization-api/0a14c8ef-f10e-4202-90ad-1b3ec5c6f44f%40googlegroups.com?utm_medium=email_source=footer>
>>>>> .
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>> --
>>>>
>>>> *[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google,
>>>> Inc• gra...@google.com*
>>>>
>>>> --
>>> 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 google-visualization-api+unsubscr...@googlegroups.com.
>>> To post to this group, send email to google-visua...@googlegroups.com.
>>> Visit this group at
>>> https://groups.google.com/group/google-visualization-api.
>>>
>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/google-visualization-api/252fe07c-463e-4324-ba81-9b17bc7dc8d9%40googlegroups.com
>>> <https://groups.google.com/d/msgid/google-visualization-api/252fe07c-463e-4324-ba81-9b17bc7dc8d9%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>>
>> *[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
>> gra...@google.com*
>>
>> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/656d3a32-1921-4816-9096-499d9970befd%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/656d3a32-1921-4816-9096-499d9970befd%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup7tYo7YCndj0%3DK4W0Sz5Wa2L00YtJR13wU%3Dtj1OK5%2BprA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Google Charts - c.getTimezoneOffset is not a function

2016-03-03 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Pete,

LineCharts should work fine with dates in any column. I'm not sure whether
by "col 1" you mean the first column (indexing starting at 1), or the
second column (indexing starting at 0), so here are both examples:
LineChart with date for the first column: http://jsfiddle.net/53w3nph7/
LineChart with date for the second column: http://jsfiddle.net/m0w4fn3v/

If you're still having issues, please modify one of these jsfiddles (or
create your own) to exemplify the issue you're experiencing.

On Thu, Mar 3, 2016 at 12:26 PM Pete Carlile <petecarli...@gmail.com> wrote:

> Thanks Sergey.
>
> I change the first column to a string (the dates being just the axis in
> the graph and it worked fine).
>
> It appears you can not have a date field in col 1 when calling the
> LineChart function (I tried the correct syntax).
>
> Pete
>
>
> On Tuesday, 1 March 2016 16:08:47 UTC+1, Sergey wrote:
>
>> Hi Pete,
>>
>> Your JSON is not syntactically valid. Having "2016-03-02" as a raw value
>> is not proper. Please refer to our Dates and Times documentation page
>> <https://developers.google.com/chart/interactive/docs/datesandtimes> for
>> guidance on how to use dates properly.
>>
>> On Tue, Mar 1, 2016 at 8:15 AM Pete Carlile <peteca...@gmail.com> wrote:
>>
> Hi, trying to use a json create table and run though Google charts line
>>> chart. Getting error message. Any ideas.
>>>
>>> File being sent :
>>>
>>> { "cols" : [{"id" :
>>> "","label":"Date","pattern":"","type":"date"},{"id":"","label":"GBP","pattern":"","type":"number"},{"id":"","label":"USD","pattern":"","type":"number"},{"id":"","label":"CHF","pattern":"","type":"number"}],
>>> "rows" : [{"c" : [{"v":2016-02-29, "f":null},{"v":35657.00,
>>> "f":null},{"v":1000.00, "f":null},{"v":6626.45, "f":null}]},{"c" :
>>> [{"v":2016-03-01, "f":null},{"v":35657, "f":null},{"v":1000,
>>> "f":null},{"v":6626.45, "f":null}]},{"c" : [{"v":2016-03-02,
>>> "f":null},{"v":35657, "f":null},{"v":1000, "f":null},{"v":6626.45,
>>> "f":null}]},{"c" : [{"v":2016-03-03, "f":null},{"v":35657,
>>> "f":null},{"v":1000, "f":null},{"v":6626.45, "f":null}]},{"c" :
>>> [{"v":2016-03-04, "f":null},{"v":35657, "f":null},{"v":1000,
>>> "f":null},{"v":6626.45, "f":null}]},{"c" : [{"v":2016-03-05,
>>> "f":null},{"v":35657, "f":null},{"v":1000, "f":null},{"v":6626.45,
>>> "f":null}]}]}
>>>
>>> --
>>> 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 google-visualization-api+unsubscr...@googlegroups.com.
>>>
>> To post to this group, send email to google-visua...@googlegroups.com.
>>
>>
>>> Visit this group at
>>> https://groups.google.com/group/google-visualization-api.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/google-visualization-api/0a14c8ef-f10e-4202-90ad-1b3ec5c6f44f%40googlegroups.com
>>> <https://groups.google.com/d/msgid/google-visualization-api/0a14c8ef-f10e-4202-90ad-1b3ec5c6f44f%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>>
>> *[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
>> gra...@google.com*
>>
>> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/252fe07c-463e-4324-ba81-9b17bc7dc8d9%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/252fe07c-463e-4324-ba81-9b17bc7dc8d9%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup56HzB8VMNU8FsOQwyAQ%3DaMQ-eVhhemOcKjrPw6_jnBSw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Как сделать выделение сразу по всем линиям графика

2016-03-03 Thread 'Sergey Grabkovsky' via Google Visualization API
Then you can use the focusTarget option in conjunction with the crosshairs
option. Here are some examples of how to use crosshairs:
https://developers.google.com/chart/interactive/docs/crosshairs

And here is my original example modified to include vertical crosshairs:
http://jsfiddle.net/115qhga7/1/

On Thu, Mar 3, 2016 at 10:00 AM Артемий Гаврюшин <arteme...@gmail.com>
wrote:

> Да, но мне необходимо также видеть вертикальную полосу.
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/664a043e-8877-4413-ad94-a439cef3583b%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/664a043e-8877-4413-ad94-a439cef3583b%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup6kP6NamiMS1EuAvJKvTWaU6oxyMVXrGOX2BxvaspA48g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Как сделать выделение сразу по всем линиям графика

2016-03-03 Thread 'Sergey Grabkovsky' via Google Visualization API
I think Dan meant the focusTarget option. Is this something like what you
wanted? http://jsfiddle.net/115qhga7/

On Thu, Mar 3, 2016 at 8:46 AM 'Daniel LaLiberte' via Google Visualization
API <google-visualization-api@googlegroups.com> wrote:

> Check outthe aggregationTarget option.
>
> var options = { ...
>   aggregationTarget: 'category'
> }
>
>
> On Thu, Mar 3, 2016 at 7:32 AM, Артемий Гаврюшин <arteme...@gmail.com>
> wrote:
>
>> http://c3js.org/samples/chart_area.html
>> http://prntscr.com/aan7yh
>>
>> Как сделать, чтобы появлялись данные по срезу, сразу по всем линиям.
>>
>> В google chart я вижу, что можно увидеть информацию за нужную дату, но
>> только по одной линии - http://prntscr.com/aan93b
>>
>> --
>> 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 google-visualization-api+unsubscr...@googlegroups.com.
>> To post to this group, send email to
>> google-visualization-api@googlegroups.com.
>> Visit this group at
>> https://groups.google.com/group/google-visualization-api.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/google-visualization-api/24cf4a70-62d5-46f2-bc2d-9beedaea520a%40googlegroups.com
>> <https://groups.google.com/d/msgid/google-visualization-api/24cf4a70-62d5-46f2-bc2d-9beedaea520a%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
> dlalibe...@google.com <dlalibe...@google.com>   5CC, Cambridge MA
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJPsnxkASE%2BgDF9YJrB0Z3w9WWJWKV5ejr8k8f8S6%3DaePA%40mail.gmail.com
> <https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJPsnxkASE%2BgDF9YJrB0Z3w9WWJWKV5ejr8k8f8S6%3DaePA%40mail.gmail.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup42KmakFnvK30Z3k7KWAQUpZv056j4ZffRkg-Tj-V2gHw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] LineChart, Dual Y, line up yAxes gridlines and labels

2016-03-02 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Jason,

It appears that you're drawing a Material Chart. Even for a Material Chart,
you should not need to use the Material options (as listed in the Dual-Y
example). Using google.charts.Line.convertOptions(classicOptions) should
yield equivalent results, with a few exceptions (such as subtitles). You
should only need to revert to the Material options when using a new feature
(such as Dual-X axes).

Our Material Charts are in beta and we're still refining the way the
options are structured. This means that options may change from under you
and you may need to change your code. Our documentation needs to be clearer
about this.

On Wed, Mar 2, 2016 at 4:13 PM J Kline <jgdkl...@gmail.com> wrote:

> Oh you know what I think I need to use axes: x instead of hAxis??
>
> On Wed, Mar 2, 2016 at 4:11 PM, J Kline <jgdkl...@gmail.com> wrote:
>
>>
>> ​
>> Sergey,
>>
>> Regarding the Y axis grid line lineup, thanks for the information.
>>
>> Relating to the Y axis labels and main chart title disappear, see the
>> chart posted above. I cut off the Legend myself, it displays fine. I can
>> not get my Titles and labels to display though. Any guesses? I changed off
>> the 'current' release a bit ago so that is not it. It was working fine
>> before I put a minvalue and maxvalue in for the second Y axis.
>>
>> On Wed, Mar 2, 2016 at 3:58 PM, 'Sergey Grabkovsky' via Google
>> Visualization API <google-visualization-api@googlegroups.com> wrote:
>>
>>> Hi Jason,
>>>
>>> Sadly, this is not currently possible. Both axes will attempt to pick
>>> 'nice numbers', so unless you pick those numbers for them and the math
>>> works out such that there's the same number of nice ticks, it will not be
>>> aligned. If you're not using Material charts, you could get alignment by
>>> explicitly specifying the view window as well as the ticks that appear on
>>> the axis.
>>>
>>> I'm not sure what you mean when you say that "both Y axes appear to get
>>> cut off". Could you please either post a screenshot or link to a jsfiddle?
>>>
>>> On Wed, Mar 2, 2016 at 3:53 PM Jason <jgdkl...@gmail.com> wrote:
>>>
>>>> Hey!!
>>>>
>>>> Is it possible to line up the vertical / Y axes grid lines so that both
>>>> sides share the same grid lines? The Y axis values are different for each
>>>> but It would still be nice to have only 3 Y Axis grid lines instead of 5.
>>>> In addition, when I use the Dual Y chart my Title, and both Y axes appear
>>>> to get cut off but the gridline values stay as well as the x axis options.
>>>> Any thoughts to why this is?
>>>>
>>>> I tried setting all the positions to 'out' but did not help them get
>>>> displayed (I know its the default but thought I'd declare it anyway).
>>>> Here are the options I currently use:
>>>>
>>>> var options = {
>>>> title: 'Large number vs Small Number, 1 month',
>>>> titlePosition: 'out',
>>>>
>>>> width: 1000,
>>>> series: {
>>>> 0: {axis: 'Large'},
>>>>   1: {axis: 'Large'}
>>>> },
>>>> hAxis: {
>>>>   title: 'Date',
>>>>   format: 'M/d/yy',
>>>>   textStyle: {fontSize: 10},
>>>>   gridlines: {count: 31}
>>>>   },
>>>>
>>>> axes: {y: {
>>>> 0: {label: 'This is big'},
>>>>   1: {label: 'This is small',
>>>>   minvalue: 0,
>>>>   maxvalue: 100}}
>>>>  }};
>>>>
>>>> --
>>>> 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 google-visualization-api+unsubscr...@googlegroups.com.
>>>> To post to this group, send email to
>>>> google-visualization-api@googlegroups.com.
>>>> Visit this group at
>>>> https://groups.google.com/group/google-visualization-api.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/google-visualization-api/b921dc05-920a-41c4-9732-a235ebb03658%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/google-visualization-api/b921dc05-920a-41c4-9732-a235ebb0365

Re: [visualization-api] Google Line Chart Stopped Working

2016-03-02 Thread 'Sergey Grabkovsky' via Google Visualization API
It sounds like you are experiencing the issues caused by caching and
propagation delays of our latest release. These issues should fix
themselves eventually (we suspect over the next few days). In the meantime,
you can workaround it by explicitly specifying a version, such as '43' or
'44' instead of 'current' or 'upcoming' as you currently do. If this
workaround does not fix your problem, please post back with a code sample.

Please refer to issue #2185
<https://github.com/google/google-visualization-issues/issues/2185>.

On Wed, Mar 2, 2016 at 12:17 PM Alex Plaza <alexispla...@gmail.com> wrote:

> Google Line Chart randomly stopped working today (March 1, 2016). I
> checked the Google Line Chart site
> <https://google-developers.appspot.com/chart/interactive/docs/gallery/linechart>and
> it seems that the ones in display in the site stopped working as well. Any
> idea why?
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/b9eb4a18-9190-4cf0-bf82-66b73209d081%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/b9eb4a18-9190-4cf0-bf82-66b73209d081%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup4Tq%2BGpn9xt7Fb6caRRr4-M6N-GVQG6wUPWKdCfPVyykQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Gauge and Comparison charts intermittently disappear from my web pages?

2016-03-02 Thread 'Sergey Grabkovsky' via Google Visualization API
It sounds like you are experiencing the issues caused by caching and
propagation delays of our latest release. These issues should fix
themselves eventually (we suspect over the next few days). In the meantime,
you can workaround it by explicitly specifying a version, such as '43' or
'44' instead of 'current' or 'upcoming' as you currently do. If this
workaround does not fix your problem, please post back with a code sample.

Please refer to issue #2185
<https://github.com/google/google-visualization-issues/issues/2185>.

On Wed, Mar 2, 2016 at 11:59 AM Daniel Rutschman <danrutsch...@gmail.com>
wrote:

> I never have a problem with my pie charts not showing on my web pages, but
>  the gauge and comparison charts disappear frequently. When this happens,
> the area on the page where the chart should be shown is just whitespace and
> no chart. Usually if the gauge chart quits working on one page then the
> comparison chart does too on the other page. (The two charts are using data
> from different tables, although from the same database.)  Also, sometimes,
> instead of the comparison chart I get a bubble chart!
>
> I haven't changed anything in the coding on these web pages prior to when
> this happens. It's just seemingly at random. Sometimes the charts appear
> and are okay, and other times, poof, they're gone. I've checked to make
> sure my sql server is still providing the data for the chart to my web
> pages when this happens by echoing the data onto the pages while feeding it
> to Google Charts, and since the server is serving up the data, and the
> charts DO work perfectly sometimes, I'm reasonably sure there is nothing
> wrong in my coding for the web pages - although I'm a newbie to Google
> Charts - and somewhat to php - so maybe I'm missing something, but then how
> could the same code work one time, but then not work 5 minutes (or hours)
> later?
>
> Any suggestions for me? Or any questions for me to clarify the issue or
> other details?
>
> Thanks in advance for your help!
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/3cd971bd-cea7-49af-8b4d-379e645e4c09%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/3cd971bd-cea7-49af-8b4d-379e645e4c09%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup7qWZ-ZNzzRORF4x4noi-QQtjMQyO7v0-m%2B4nEYvXvK9A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Broken Draw Multiple Charts example

2016-03-02 Thread 'Sergey Grabkovsky' via Google Visualization API
It sounds like you are experiencing the issues caused by caching and
propagation delays of our latest release. These issues should fix
themselves eventually (we suspect over the next few days). In the meantime,
you can workaround it by explicitly specifying a version, such as '43' or
'44' instead of 'current' or 'upcoming'. If this workaround does not fix
your problem, please post back with a code sample.

Please refer to issue #2185
<https://github.com/google/google-visualization-issues/issues/2185>.

On Wed, Mar 2, 2016 at 11:43 AM Paul Mackinney <
paul.mackin...@ondiagnostics.com> wrote:

> I was hoping to use Google Multiple Charts for an internal website, but
> one of the key examples I want to use is broken. It's not clear where to
> report this or if anyone cares. Hence this post.
>
>   1. Go here https://developers.google.com/chart/
>   2. Click the Guides tag at the top next to Home
>   3. Click Draw Multiple Charts
>
> None of the example charts display, you just see blank areas.
> When I copy & paste the code into an html file and look at it with Chrome
> or Firefox, I see the same results.
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/fff5a3e9-637c-448a-bc38-b9a395ab5523%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/fff5a3e9-637c-448a-bc38-b9a395ab5523%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup5cjLh74kT4BF6yiiAxCtrnTuvZT6Te3D6-rYObAVjRRw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Draw dendogram

2016-03-02 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Vani,

We don't currently have a chart of this type.

On Wed, Mar 2, 2016 at 3:41 AM vani reddy <vani.redd...@gmail.com> wrote:

> Hi Team,
>
>
> I have a requirement to draw Dendogram in my project.Please see the
> attached screenshot  of the  Dendogram (if in case you don't know how it
> looks).
> I tried doing this in Fusion charts, but no luck.
>
> Please let me know for any API available in market.
>
> Thanks,
> Vani
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/6aa272ad-3030-4afe-8625-d5e8c0caeb20%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/6aa272ad-3030-4afe-8625-d5e8c0caeb20%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup5Sh5MNguMbATRVj6C7Gkpf9W3jYDhO%3DfiajgvGLbowkQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] I am getting an error "Cannot read property 'prototype' of null"

2016-03-02 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi,

You are experiencing the issues caused by caching and propagation delays of
our latest release. These issues should fix themselves eventually (probably
in a few days). In the meantime, you can workaround it by explicitly
specifying a version, such as '43' or '44' instead of 'current' or
'upcoming' as you currently do.

On Wed, Mar 2, 2016 at 2:35 AM Md Rehan Moazzam <mzmre...@gmail.com> wrote:

> I am getting an error "Cannot read property 'prototype' of null" whenever
> I am trying to create a chart.
>
> The code follows:
>
> https://www.gstatic.com/charts/loader.js&quot</a>;>
>
>
> 
> // Load the Visualization API and the controls package.
> google.charts.load('current', { 'packages': ['controls'] });
>
> // Set a callback to run when the Google Visualization API is loaded.
> google.charts.setOnLoadCallback(drawDashboard);
>
> // Callback that creates and populates a data table,
> // instantiates a dashboard, a range slider and a pie chart,
> // passes in the data and draws it.
> function drawDashboard() {
>
> // Create our data table.
> var data = google.visualization.arrayToDataTable([
>   ['Name', 'Donuts eaten'],
>   ['Michael', 5],
>   ['Elisa', 7],
>   ['Robert', 3],
>   ['John', 2],
>   ['Jessica', 6],
>   ['Aaron', 1],
>   ['Margareth', 8]
> ]);
>
> // Create a dashboard.
> var dashboard = new google.visualization.Dashboard(
> document.getElementById('programmatic_dashboard_div'));
>
> // Create a range slider, passing some options
> var donutRangeSlider = new google.visualization.ControlWrapper({
> 'controlType': 'NumberRangeFilter',
> 'containerId': 'programmatic_control_div',
> 'options': {
> 'filterColumnLabel': 'Donuts eaten'
> }
> });
>
> // Create a pie chart, passing some options
> var pieChart = new google.visualization.ChartWrapper({
> 'chartType': 'PieChart',
> 'containerId': 'programmatic_chart_div',
> 'options': {
> 'width': 300,
> 'height': 300,
> 'pieSliceText': 'value',
> 'legend': 'right'
> }
> });
>
> // Establish dependencies, declaring that 'filter' drives
> 'pieChart',
> // so that the pie chart will only display entries that are let
> through
> // given the chosen slider range.
> dashboard.bind(donutRangeSlider, pieChart);
>
> // Draw the dashboard.
> dashboard.draw(data);
> }
> 
>   
> 
>   
> 
>   
> 
>   
>
> 
>   
>   
>   
>   
>   
>   
> 
>   
>
>
>
>
> Error screen from chrome console is attached. Please help me out its kind
> of urgent
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/309c9cfb-03c2-44f7-8007-43fed7958f0d%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/309c9cfb-03c2-44f7-8007-43fed7958f0d%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup4c1XtqpFQnPR0priJKb7rhv3Xzqr7gDqaiYkjbn9cQzg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Material line chart - series - points visible

2016-03-01 Thread 'Sergey Grabkovsky' via Google Visualization API
This is not implemented yet. Please refer to the Material Chart feature
tracking bug
<https://github.com/google/google-visualization-issues/issues/2143> to
determine if a feature is supported.

On Tue, Mar 1, 2016 at 9:17 AM Allen Moore <allen.d.mo...@gmail.com> wrote:

> I have a material line chart where I wish ONLY the 1st value to display a
> point.
>
> Within var options I have tried:
> series: {
> 1: {
> point: {visible: true}
> }
> }
> But don't seem to be getting a result...
>
> Is this implemented yet in Material Line Charts, or have I made an error?
>
> TIA,
>
> -Allen M.
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/6e541c58-2f18-4810-bf59-7ce3cb61e88a%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/6e541c58-2f18-4810-bf59-7ce3cb61e88a%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup6AUqWg_kN442ukuyjs%2B7jr%2BxuQuR%2BNCMjjet42B5yfHw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Google Charts - c.getTimezoneOffset is not a function

2016-03-01 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Pete,

Your JSON is not syntactically valid. Having "2016-03-02" as a raw value is
not proper. Please refer to our Dates and Times documentation page
<https://developers.google.com/chart/interactive/docs/datesandtimes> for
guidance on how to use dates properly.

On Tue, Mar 1, 2016 at 8:15 AM Pete Carlile <petecarli...@gmail.com> wrote:

> Hi, trying to use a json create table and run though Google charts line
> chart. Getting error message. Any ideas.
>
> File being sent :
>
> { "cols" : [{"id" :
> "","label":"Date","pattern":"","type":"date"},{"id":"","label":"GBP","pattern":"","type":"number"},{"id":"","label":"USD","pattern":"","type":"number"},{"id":"","label":"CHF","pattern":"","type":"number"}],
> "rows" : [{"c" : [{"v":2016-02-29, "f":null},{"v":35657.00,
> "f":null},{"v":1000.00, "f":null},{"v":6626.45, "f":null}]},{"c" :
> [{"v":2016-03-01, "f":null},{"v":35657, "f":null},{"v":1000,
> "f":null},{"v":6626.45, "f":null}]},{"c" : [{"v":2016-03-02,
> "f":null},{"v":35657, "f":null},{"v":1000, "f":null},{"v":6626.45,
> "f":null}]},{"c" : [{"v":2016-03-03, "f":null},{"v":35657,
> "f":null},{"v":1000, "f":null},{"v":6626.45, "f":null}]},{"c" :
> [{"v":2016-03-04, "f":null},{"v":35657, "f":null},{"v":1000,
> "f":null},{"v":6626.45, "f":null}]},{"c" : [{"v":2016-03-05,
> "f":null},{"v":35657, "f":null},{"v":1000, "f":null},{"v":6626.45,
> "f":null}]}]}
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/0a14c8ef-f10e-4202-90ad-1b3ec5c6f44f%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/0a14c8ef-f10e-4202-90ad-1b3ec5c6f44f%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup6VKh2ZRF5kT7_N_T4U7SoH9cyTSh8HUcxYFnhz7GmEeg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Re: Legend text overlapping in column chart

2016-03-01 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Mahesh,

This is a known issue when you attempt to render a chart in an invisible
div. If this is what you are doing, please do not do that, and render the
chart only when the div becomes visible. If you are not doing this, please
post back with a more complete code sample so that we may reproduce the
issue you are experiencing.

On Tue, Mar 1, 2016 at 5:15 AM mahesh kedari <kedari.mah...@gmail.com>
wrote:

> Is there any workaround for this issue in current version?
>
> - Mahesh
>
> On Tuesday, September 24, 2013 at 10:27:53 AM UTC+5:30, pandia rajan wrote:
>>
>>
>> My Code:
>>
>>   var Actdata = google.visualization.arrayToDataTable([
>>   ['Status','Total','Active Sites', 'Applicable', 'Complied', 'In
>> Process', 'Not Complied'],
>>   ['A', 232, 150,12,23,  34,   56],
>>   ['W',  232, 150, 57, 10, 41, 21],
>>   ['I', 232, 150,12,   10,103,11]
>> ]);
>>
>> var Actoptions = {
>>   is3D: true,
>>'width': width,
>>   'height': height,
>>   legend : {position: 'right', alignment :'center', textStyle:
>> {color: 'blue', fontSize: 14,bold:true}},
>>   chartArea : {left:20,top:20,width:"90%",height:"80%"}
>> };
>>
>> var Actchart = new
>> google.visualization.ColumnChart(document.getElementById('containAct'));
>> Actchart.draw(Actdata, Actoptions);
>>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/f05a30c3-1c6a-4e7d-93ac-71d019d33c73%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/f05a30c3-1c6a-4e7d-93ac-71d019d33c73%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup6xyGNvD77buXZjON22vDjtW4y-uSa6Y2SDLMmLsL1d_A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Re: Проблемы с отображением графиков

2016-03-01 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi,

It sounds like you are experiencing the issues caused by caching and
propagation delays of our latest release. These issues should fix
themselves eventually. In the meantime, you can workaround it by explicitly
specifying a version, such as `'43'` or `'44'` instead of `'current'` or
`'upcoming'` as you currently do. If this workaround does not fix your
problem, please post back with a code sample.

On Tue, Mar 1, 2016 at 4:31 AM root <ur5...@gmail.com> wrote:

> Вот скриншот ошибки из firebug.
> *http://i.imgur.com/ngeRp98.png <http://i.imgur.com/ngeRp98.png>*
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/af57aa3b-c833-4108-83ae-8d4d8d314909%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/af57aa3b-c833-4108-83ae-8d4d8d314909%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup5TtnLP21uGEedvq_j6jUY2%3Dnt7okYnQAqND%2Bj3KYaJhw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Some Google charts are not displaying on my browser (Chrome 48.0.2564.116)

2016-03-01 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi,

It sounds like you are experiencing the issues caused by caching and
propagation delays of our latest release. These issues should fix
themselves eventually. In the meantime, you can workaround it by explicitly
specifying a version, such as `'43'` or `'44'` instead of `'current'` or
`'upcoming'` as you currently do. If this workaround does not fix your
problem, please post back with a code sample.

On Tue, Mar 1, 2016 at 3:58 AM Donald McLean <confidentmcl...@gmail.com>
wrote:

> Check the charts like the TimeLine on your site they are not displaying
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/5fea8d24-5f55-49c4-b0aa-3dd38b33926b%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/5fea8d24-5f55-49c4-b0aa-3dd38b33926b%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup5CnHgXmWvMFA1iQLZEWNvnG48HKVaPwnAGSJuZ_5v38Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Geochart HTML tooltip

2016-03-01 Thread 'Sergey Grabkovsky' via Google Visualization API
Hey Nick,

There's no way to use google.visualization.events.addListener to listen to
event in the HTML tooltip, but you can certainly embed actual links in your
HTML tooltip. However, you'll also have to set the tooltip.trigger option
to 'selection'. Here's an example: http://jsfiddle.net/wm9kt29z/

On Mon, Feb 29, 2016 at 8:06 PM <dunbar.n...@gmail.com> wrote:

> Hi,
> Is there any way to include a google.visualization.events.addListener into
> the HTML tooltip in a geochart so that I can launch a new (non-geo)chart
> when I click on a particular country?
> All suggestions welcome.
> Regards
> Nick
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/4549a59b-abd5-42d1-9cc2-d1c0b57bff16%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/4549a59b-abd5-42d1-9cc2-d1c0b57bff16%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup4UngLoWNqFpHzm0CsBAtJo9dfNZtLFhFYOSxLu08Pu%2BA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Geochart type error

2016-03-01 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Nick,

It looks like you forgot to include the /jsapi script on your page. For the
time being, it's still necessary to enable geocoding on the GeoChart (which
is enabled via google.load). Let me know if that doesn't fix your issue.

On Mon, Feb 29, 2016 at 8:02 PM  wrote:

> Hi,
>
> I've started getting this error when I run Geochart. I didnt see it when I
> ran the same code earlier today:
>
> TypeError: google.load is not a function. (In
> 'google.load(xd,Ma,{callback:b,other_params:a})', 'google.load' is
> undefined)
> wda
> create
> cPa
> (anonymous function)
> (anonymous function)
> SOa
> (anonymous function)countries_en.js:5
> (anonymous function)countries_en.js:6
>
> I'm running it off this code:
>
>  https://www.gstatic.com/charts/loader.js";>
> http://code.jquery.com/jquery-1.10.1.min.js";>
> 

Re: [visualization-api] How can I synchronize one column chart when I zoom in the other column chart? ALSO!! How can I get top of column location in column chart?

2016-02-29 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Kyle,

1. If you're using explorer mode, there is sadly still no way to
synchronize the zoom levels of multiple charts. If you are not using
explorer mode, please gives us an example of how you're doing zoom, as
there may be hope for you yet!

2. You can use the getChartLayoutInterface API in order to convert chart
canvas coordinates to screen coordinates. If you can construct a jsfiddle
of one of your charts, I can show you how to do this.

Your English is great!

In the future, please provide a jsfiddle example of what you're trying to
do. This will allow us to help you more quickly.

On Sat, Feb 27, 2016 at 8:48 PM Kyle Kim <manhood1...@gmail.com> wrote:

> Hi. My name is Kyle and I'm a newbie in Google Visualization API.
> I tried to find solutions for these two issues for some days, but I didn't
> find it.
>
> *1. How can I synchronize one column chart when I zoom in the other column
> chart?*
> I'm using two column charts and they are using different data but the same
> columns. When I zoom in one column chart, I want to make the other column
> chart zoom in together.
> I saw a post and he said that there is no way to synchronize two charts. *(in
> 2009 by Google employee)*
> However, this year is 2016 so I hope Googe solved this issue.
> Please advise to me!!
>
> *2. How can I get a top of column location in column chart?*
> I tried to get a top of column location in column chart, but I can't
> estimate it. Because the data which I'll put in is different every time.
> The reason why I need it is because I want to connect the columns in one
> column chart to the columns in the other chart.
>
> Is there any way to solve these two issues? [Please understand my English]
> Thanks in advance!! :D (
> https://developers.google.com/chart/interactive/docs/gallery/columnchart)
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/9943fcff-10cd-45e2-977e-ccf441c5f195%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/9943fcff-10cd-45e2-977e-ccf441c5f195%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup6-kDtL8Vnn6%3Du2AA3azZ06-pWbu5EToE4UxvurkQzUHA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] My Chart doesn't appear while combining both bar and pie chart

2016-02-29 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Tom,

I answered your question in your other thread. In the future, I think one
post per issue will be enough =)

There's a much more detailed explanation in my other post, but the biggest
issue you have is that you have to drawChart functions.

On Fri, Feb 26, 2016 at 8:07 AM tom jose <13165...@gmail.com> wrote:

> My Chart doesn't   appear while combining both bar and pie chart .Here is
> the code:
>
>
> 
>   
> https://www.gstatic.com/charts/loader.js&quot</a>;>
> 
>   google.charts.load('visualization',1,
> {'packages':['bar','corechart']});
>   google.charts.setOnLoadCallback(drawChart);
>   function drawChart() {
> var data = google.visualization.arrayToDataTable([
>   ['Year', 'Sales', 'Expenses', 'Profit'],
>   ['2014', 1000, 400, 200],
>   ['2015', 1170, 460, 250],
>   ['2016', 660, 1120, 300],
>   ['2017', 1030, 540, 350]
> ]);
>
> var options = {
>   chart: {
> title: 'Company Performance',
> subtitle: 'Sales, Expenses, and Profit: 2014-2017',
>   }
> };
>
> var chart = new
> google.charts.Bar(document.getElementById('columnchart_material'));
>
> chart.draw(data, options);
>   }
>
>   google.charts.setOnLoadCallback(drawChart);
>   function drawChart() {
>
> var data = google.visualization.arrayToDataTable([
>   ['Task', 'Hours per Day'],
>   ['Work', 11],
>   ['Eat',  2],
>   ['Commute',  2],
>   ['Watch TV', 2],
>   ['Sleep',7]
> ]);
>
> var options = {
>   title: 'My Daily Activities'
> };
>
> var chart = new
> google.visualization.PieChart(document.getElementById('piechart'));
>
> chart.draw(data, options);
>   }
> 
>   
>   
> 
> 
>   
> 
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/caf9c073-7a4a-41d2-9abd-d18e3b12e734%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/caf9c073-7a4a-41d2-9abd-d18e3b12e734%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup6eEx5Qof0FzRnJgDyqt%2Bi6Ye3A-pqdPt1LwZokdxb0XA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] My Chart doesn't chart appear while combining both bar and pie chart

2016-02-29 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Tom,

You have a few problems with your code:

   1. Specifying the values '1', '1.1', and '1.0' is no longer valid for
   the new loader. The new equivalent value for 1.0 is 'current', the
   equivalent value for 1.1 is 'upcoming', and there is currently no
   equivalent value for '1'.
   2. While this doesn't break anything, you no longer have to specify
   'visualization' when calling .load. This is because this new loader is used
   exclusively for charts, and you don't need to clarify.
   3. This is really the biggest problem. *You have two drawChart functions
   in your code*. There is no way that any browser will be able to
   disambiguate between them. You need to give each function and variable a
   unique identifier if you intend to refer to it. One simple fix would be to
   just rename your functions to drawChart1 and drawChart2. But the better fix
   would be to just render both charts in one function, like I did in this
   jsfiddle: http://jsfiddle.net/1kkjr428/



On Fri, Feb 26, 2016 at 8:04 AM tom jose <13165...@gmail.com> wrote:

> My Chart doesn't  chart appear while combining both bar and pie chart
> .Here is the code:
>
>
> 
>   
> https://www.gstatic.com/charts/loader.js&quot</a>;>
> 
>   google.charts.load('visualization',1,
> {'packages':['bar','corechart']});
>   google.charts.setOnLoadCallback(drawChart);
>   function drawChart() {
> var data = google.visualization.arrayToDataTable([
>   ['Year', 'Sales', 'Expenses', 'Profit'],
>   ['2014', 1000, 400, 200],
>   ['2015', 1170, 460, 250],
>   ['2016', 660, 1120, 300],
>   ['2017', 1030, 540, 350]
> ]);
>
> var options = {
>   chart: {
> title: 'Company Performance',
> subtitle: 'Sales, Expenses, and Profit: 2014-2017',
>   }
> };
>
> var chart = new
> google.charts.Bar(document.getElementById('columnchart_material'));
>
> chart.draw(data, options);
>   }
>
>   google.charts.setOnLoadCallback(drawChart);
>   function drawChart() {
>
> var data = google.visualization.arrayToDataTable([
>   ['Task', 'Hours per Day'],
>   ['Work', 11],
>   ['Eat',  2],
>   ['Commute',  2],
>   ['Watch TV', 2],
>   ['Sleep',7]
> ]);
>
> var options = {
>   title: 'My Daily Activities'
> };
>
> var chart = new
> google.visualization.PieChart(document.getElementById('piechart'));
>
> chart.draw(data, options);
>   }
> 
>   
>   
> 
> 
>   
> 
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/ac04c986-7023-41c0-aafd-ed731fd6a16c%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/ac04c986-7023-41c0-aafd-ed731fd6a16c%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup5CrmTevRj8gDRN0aRO66SyiX6KKK56%2BP60BFQGH0V5GQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Re: automatic adaption of the width of the graph area depending on the amount of data points

2016-02-29 Thread 'Sergey Grabkovsky' via Google Visualization API
The "explorer" option is what will provide the "drag-to-move"
functionality. You can find the documentation for how to use explorer mode
on the page of any chart that supports it, for example the line chart
<https://developers.google.com/chart/interactive/docs/gallery/linechart>.
Here's a simple example of explorer mode: http://jsfiddle.net/kxL09t5t/

By default, the chart will show *all* the data that you give to it. If this
behavior works for you, you don't need to do any of the other things I
said, including enabling explorer mode. However, from your first post, I
got the impression that you didn't want your chart to be too crowded (I
probably got that from the fact that you mentioned scrollbars multiple
times in your first post.)

However, if I was correct in my previous assumption that you do not want
your chart to be too crowded, you'll need some method of mitigating that.
One way would be to have the database only send the last N (100, 200, 1000,
whatever you're comfortable with) rows to the chart, and just draw all the
data. However, if you want your user to be able to explore all the data,
you'll need to do this on the client side, by limiting the view window
(with the hAxis.viewWindow.min/max options). This is also where the
explorer mode will come into play, since it will allow your users to
explore the data you have hidden by customizing the view window.

Hopefully that explains things better?

On Fri, Feb 26, 2016 at 5:49 AM beginnerGG <ple...@rbt-nbg.de> wrote:

> Dear Sergey,
>
> thank you for your answer.
>
> Drag-to-move would probably be nice, if I  can fix the legend and the
> y-axis with that, while the oldest data is hidden, if there are more than
> e.g. 5 values in the graph.
> But I do not understand, why I have to analyze the range of my data
> therefore? I also do not know, how to set the view window (is it the 
> hAxis.viewWindow.max
> option?) And I do not find anything about the "explorer mode". Is this also
> a chart.draw option?
>
> Best regards
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/2f9d42de-4355-49c3-9f19-76603bfbd74a%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/2f9d42de-4355-49c3-9f19-76603bfbd74a%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup5%3DmcSsGdwiCfn2WMtG2TkOsdTYkTh7wEUnRjC8S6Zn-w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Data policies

2016-02-25 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi,

I did a fairly thorough writeup of when data may be sent outside of the
network here
<https://github.com/google/google-visualization-issues/issues/2169>. I
believe that that question in the FAQ is more pertinent to our deprecated
image charts, which render a chart on the server, and therefore require the
data to be sent to said server.

Please let us know if you have more questions.

On Thu, Feb 25, 2016 at 1:56 PM EC <ethancohen@gmail.com> wrote:

> Hello-
> I would like to use Google Charts to repeatedly display data that may be
> sensitive, so i would like to be sure that the data is not sent out of my
> local network.
> There are several supported chart types, and the documentation page for
> each has a “data policy” section that contains the message below for every
> chart type that I am using:
> "Data policy: All code and data are processed and rendered in the
> browser. No data is sent to any server."
>
> This seems clear enough, but then I found this note at the URL below it.
>
>
> “Is Google logging all my chart data?
>
> The chart data included in the HTTP request is saved in temporary logs for
> no longer than two weeks for internal testing and debugging purposes. Of
> course you should understand that if your chart appears in an image tag on
> a public webpage, it could be crawled.”
>
> https://developers.google.com/chart/interactive/faq
>
> Can you tell me what data is sent each time a chart with the above data
> policy is rendered?
> Thanks very much!
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/04eb9454-6db5-4c92-b353-47625e4adc87%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/04eb9454-6db5-4c92-b353-47625e4adc87%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup7WSdfHUDv_t6mQ6aie2TSCBJfowo%3D1ddyF%3DiymJecnog%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] different between new google.charts.Bar & google.visualization.ComboChart

2016-02-24 Thread 'Sergey Grabkovsky' via Google Visualization API
  color: '#DB4437'
>> }
>> }
>> }));
>> google.visualization.events.addListener(chartnew,
>> 'ready', myReadyHandler);
>> }
>> } else {
>> $('#AllLoc').text("All Incident By Location");
>> $("#div_id_9").html(message);
>> myReadyHandler(); // increment the g_var by 1 if no
>> record exists otherwise program thought still one chart not redered. by NG
>> 02/16/2016
>> }
>> },
>> error: function(x, e) {
>> alert(x.responseText);
>> }
>> });
>> }
>>
>> function addCode(code) {
>> var JS = document.createElement('script');
>> JS.text = code;
>> document.body.appendChild(JS);
>> }
>>
>> Thanks
>> Natarajan Govindavel
>>
>>
>> On Tuesday, February 16, 2016 at 8:57:53 PM UTC+5:30, Sergey wrote:
>>
>> Natarajan,
>>
>> We've seen a number of bugs with multiple Material charts not rendering
>> on the same page. I was under the impression that these issues were all
>> fixed (presuming you're using the latest Charts code). It is highly likely
>> that the issues are due to *how* you're using Charts, and not due to
>> Charts code itself. However, it is also possible that there's still a bug.
>> Without seeing the code that you're using, I couldn't say whether this is a
>> bug in our code or in yours.
>>
>> On Mon, Feb 15, 2016 at 10:09 AM natarajan govindavel <
>> natara...@gmail.com> wrote:
>>
>> Hi Sergey,
>>
>> I have dynamically loading multiple charts in same page using jquery and
>> ajax.
>> Sometimes ( not frequent  and random manner ) some of the charts not
>> displayed.
>> Is this known issue? Is there any workaround for this.
>> Please guide me.
>>
>> Thanks
>> Natarajan Govindavel
>>
>>
>> On Monday, February 1, 2016 at 3:15:29 PM UTC+5:30, natarajan govindavel
>> wrote:
>>
>> Hi Sergey,
>>
>> I have multiple charts on the same page.Everything working fine one of
>> the chart bar color not applied properly.
>> It shows the default color(blue). I faced this issue only in IE 9 and IE
>> 10.
>> i given my code below. please advice me
>>
>>  var chartnew = new
>> google.charts.Bar(document.getElementById('div_id_9'));
>>  chartnew.draw(dataArray[8],
>> google.charts.Bar.convertOptions({
>>  width: 1000,
>>  height: 330,
>>  titlePosition: 'none',
>>  legend: { position: 'right'},
>>      isStacked: true,
>>  vAxis: {title: "Incident Count",textStyle: {color:
>> 'black'}},
>>  hAxis: {title: "Locations",textStyle: {color:
>> 'black'}},
>>  series: {
>> 0:{
>> targetAxisIndex: 0,
>> color:'#F3C1BC'
>> },
>> 1:{
>> targetAxisIndex: 0,
>> color:'#E7827A'
>> },
>> 2:{
>> targetAxisIndex: 0,
>> color:'#DB4437'
>> }
>> }
>>  }));
>> }
>>
>> Thanks
>> Natarajan Govindavel.
>>
>> On Friday, January 29, 2016 at 8:35:27 PM UTC+5:30, Sergey wrote:
>>
>> Forgot to answer the second part of your question, about the jsfiddle. If
>> you're asking whether the Classic Charts support axis formatting options,
>> they do: https://jsfiddle.net/88z92w4p/
>>
>> On Fri, Jan 29, 2016 at 10:03 AM Sergey Grabkovsky <gra...@google.com>
>> wrote:
>>
>> I don't have any estimates for when you might expect getImageURI for
>> Material Charts. We are currently prioritizing other features.
>>
>> On Fri, Jan 29, 2016 at 1:46 AM natarajan govindavel <natara...@gmail.com>
>> wrote:
>>
>> Hi Sergey,
>>
>> Thank you so much for your help. And one more help
>> When can we expect this feature (getImageURI()) because one of my client
>> real

Re: [visualization-api] automatic adaption of the width of the graph area depending on the amount of data points

2016-02-23 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi,

The Line Chart will always scale your data to fit the chart. So if you have
a lot of data, then it will just all be squished into the chart, instead of
having a certain part no longer be visible (Column Charts have slightly
different behavior). If that's the behavior you want, then you will have to
analyze the range of your data and set the chart's view window
appropriately. You'll then want to hook up 'explorer' mode in order to
enable drag-to-move on the chart (to be able to explore the older data).

On Tue, Feb 23, 2016 at 4:49 AM beginnerGG <ple...@rbt-nbg.de> wrote:

> Dear Users,
>
> I have the following code to draw a graph from a DB query in my html-body:
>
> 
> 
> function drawChart() {
>   var jsonData = $.ajax({
>   url: "Antwortzeiten_.php?seite=Neo",
>   dataType:"json",
>   async: false
>   }).responseText;
>
>   // Create our data table out of JSON data loaded from server.
>   var data = new google.visualization.DataTable(jsonData);
>
>   // Instantiate and draw our chart, passing in some options.
>   var chart = new google.visualization.LineChart(document.
> getElementById('chart_neo_div'));
>   chart.draw(data, {width: 1000, height: 240});
> }
> window.setTimeout(drawChart(), 1);
> 
> 
>
> The width is 1000 fixed. The source of the data is a database, that is
> growing. Thus the amount of data points to be displayed is increasing each
> time the LineChard is drawn.
>
> 1. To display more and more data points in this graph its width should
> dynamically grow with the data.
> 2. As the width of the html-page is limited, I need a scroll-bar for this
> at some limit.
> 3. Ideally the y-axis label and the legend is fixed outside the
> scroll-able area, so that this information is always seen (When I make the
> whole div scroll, the legend and the x-axis is also shifted out of the
> displayed area).
>
> I would be pleased, if you have some hints how to do this, as I am a total
> beginner in this field.
>
> Best regards and thank you!
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/67f7eeba-2a0c-4456-bb6e-940e092a38b0%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/67f7eeba-2a0c-4456-bb6e-940e092a38b0%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup4RFvtfT%3DyDgfZqS4XVE%3D%2BwLBqUrWfXwTKm4f5y-VgeBg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] GeoChart intermittent Problem

2016-02-23 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi,

You might be experiencing this bug
<https://github.com/google/google-visualization-issues/issues/856>. We
recently released version 44
<https://groups.google.com/forum/#!topic/google-visualization-api/x5XDn5YYEak>,
which should fix this issue. Keep in mind that we recently changed the way
to load Google Charts
<https://developers.google.com/chart/interactive/docs/basic_load_libs>, so
you'll have to change that in your code as well. This new loading method
currently doesn't support dynamic loading (for instance, using a
ChartWrapper to load 'GeoChart' without specifying the 'geochart' package
in your google.load call), so you'll have to make sure that all of the
charts you use are explicitly loaded via google.charts.load.

On Mon, Feb 22, 2016 at 6:38 PM AM <apmil...@gmail.com> wrote:

> I continue to have an intermittent problem with GeoCharts.
>
> Sometimes the chart works and sometimes it does not. This is the case with
> this chart even though nothing changes with the code or data. It will
> literally sometimes work on load and sometimes it does not.
>
> Is there some type of timeout if a page takes to long to load that make
> the GeoChart not work?
>
> Example:
>
>
> http://www.towncharts.com/Texas/Demographics/Houston-city-TX-Demographics-data.html#Figure37
>
> Code:
>
> var data37 = google.visualization.arrayToDataTable([['Region','Houston'], 
> [{v:'150',f:'Europe'},0.04],[{v:'142',f:'Asia'},0.196],   
>   [{v:'002',f:'Africa'},0.045],   
> [{v:'009',f:'Oceania'},0.002],  [{v:'019',f:'Americas'},0.716]
>   ]); var formatterPec = new 
> google.visualization.NumberFormat({pattern: '##%'});var formatterPec1 = new 
> google.visualization.NumberFormat({pattern: '##.#%'});var formatterBar = new 
> google.visualization.BarFormat({width: 60});formatterPec.format(data37,1);var 
> options37 
> ={'chartType':'GeoChart','containerId':'chart_div37','resolution':'continents','width':700,'height':300,'legend':{numberFormat:'#.#%'},'colors':['#C5E6FC','#0A67A3'],'chartArea':{width:"90%",height:"98%"}};
> var Table37 = new 
> google.visualization.GeoChart(document.getElementById('chart_div37'));
> Table37.draw(data37, options37);
>
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/58400bf2-85d3-4f05-a66c-c928ceea9ce3%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/58400bf2-85d3-4f05-a66c-c928ceea9ce3%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup6zKomeCQJBWU77Oc3-Ra3T%2B%2B1%2BrFr4aLU1%2BVkRSKeVwg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Kagi chart?

2016-02-22 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Jose,

Out of the box, Google Charts does not support Kagi charts. However, Stepped
Area Charts
<https://developers.google.com/chart/interactive/docs/gallery/steppedareachart>
look pretty close, so maybe you could repurpose those.

On Sat, Feb 20, 2016 at 6:28 AM Jose <hidalgodevelo...@gmail.com> wrote:

> Hi, I am recently working with google charts. And I have the problem that
> i need "Kagi" chart type or "swing" and I have not found in chart types.
> I hope you can help me.
> A greeting.
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/2e3a09a5-eeb1-4e64-96ce-379950bf34aa%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/2e3a09a5-eeb1-4e64-96ce-379950bf34aa%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup6ahfQNphinJtek%2Bi4w-sYwDFEqZ%2Bs2pL%2B9Dr7UeKd2Xg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Customize Tooltips for Trendlines

2016-02-22 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi T.J.,

Unfortunately, you can't do a custom tooltips for trendlines yet. You can
customize a tooltip for the whole category, and include the trendline
tooltip in that, but you'd need to figure out the tooltip text yourself.

On Sat, Feb 20, 2016 at 12:45 AM T.J. Breshears <tjbreshe...@gmail.com>
wrote:

> Does anyone know how to customize the tooltips for trendlines? They seem a
> bit cumbersome right now with the data I have. Any help would be greatly
> appreciated.
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/1a2dc0fa-b60c-48cc-86e1-1a644a9e4cfe%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/1a2dc0fa-b60c-48cc-86e1-1a644a9e4cfe%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup6Dacpu-68bRByQ2N3ihw2-Dto1MOwREqKasckHOgLwVA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] How to have two x columns and one y column in charts?

2016-02-19 Thread 'Sergey Grabkovsky' via Google Visualization API
Brittany,

I'm not sure I fully understand what you're trying to do. Scatterplots, by
definition, do not have lines between them (although our scatter chart can
do this). Also, if you're rendering a scatterplot, I don't understand why
it matters that something is an x axis or a y axis, but you can use the
'orientation' option to make the domain axis vertical. However, our Classic
charts (corecharts) do not support having two horizontal axes, but our
Material charts do. Sadly, these Material charts are not yet available from
Google Sheets, but here is an example of such a chart:
http://jsfiddle.net/moko7c6b/

On Fri, Feb 19, 2016 at 1:33 PM Brittany Sattler <bmsatt...@ucdavis.edu>
wrote:

> I need to have it be a scatter plot to show the lines. its extremely easy
> to do this in excel, but google sheets is giving me problems with this
>
>
> On Friday, February 19, 2016 at 10:29:12 AM UTC-8, Sergey wrote:
>
>> It sounds like it might be better to have a Bar/Column Chart your
>> Elevation be the x axis, and each type of stress would be a series.
>> Something like this <http://jsfiddle.net/ur07o6g1/> perhaps?
>>
>> Is there a reason that this doesn't work for you?
>>
>> On Fri, Feb 19, 2016 at 1:17 PM Brittany Sattler <bmsa...@ucdavis.edu>
>> wrote:
>>
> Stress vs. Elevation graph with two types of stress for the x axis
>>>
>>>
>>> On Friday, February 19, 2016 at 7:07:24 AM UTC-8, Sergey wrote:
>>>
>>>> Hi Brittany,
>>>>
>>>> It sounds like what you want is to change the orientation of the chart.
>>>> Could you please elaborate on your use case? Give an example of your data,
>>>> perhaps?
>>>>
>>>> On Thu, Feb 18, 2016 at 9:07 PM Brittany Sattler <bmsa...@ucdavis.edu>
>>>> wrote:
>>>>
>>> I am new to google sheets and can't figure out this one.
>>>>>
>>>>> I have two x value columns and one y column that corresponds to both x
>>>>> columns. I am able to format the graph with one x column and multiple y's,
>>>>> but does anyone know how to do the opposite??
>>>>> Thanks!
>>>>>
>>>>> --
>>>>> 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 google-visualization-api+unsubscr...@googlegroups.com.
>>>>>
>>>> To post to this group, send email to google-visua...@googlegroups.com.
>>>>
>>>>
>>>>> Visit this group at
>>>>> https://groups.google.com/group/google-visualization-api.
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/google-visualization-api/97368e71-3e88-472b-a350-127d41d223be%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/google-visualization-api/97368e71-3e88-472b-a350-127d41d223be%40googlegroups.com?utm_medium=email_source=footer>
>>>>> .
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>> --
>>>>
>>>> *[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google,
>>>> Inc• gra...@google.com*
>>>>
>>>> --
>>> 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 google-visualization-api+unsubscr...@googlegroups.com.
>>> To post to this group, send email to google-visua...@googlegroups.com.
>>> Visit this group at
>>> https://groups.google.com/group/google-visualization-api.
>>>
>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/google-visualization-api/9b082909-ce17-4a4b-ae5e-ed6cab11d096%40googlegroups.com
>>> <https://groups.google.com/d/msgid/google-visualization-api/9b082909-ce17-4a4b-ae5e-ed6cab11d096%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>>
>> *[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
>> gra...@google.com*
>>
>> --
> 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
&g

Re: [visualization-api] How to have two x columns and one y column in charts?

2016-02-19 Thread 'Sergey Grabkovsky' via Google Visualization API
It sounds like it might be better to have a Bar/Column Chart your Elevation
be the x axis, and each type of stress would be a series. Something like
this <http://jsfiddle.net/ur07o6g1/> perhaps?

Is there a reason that this doesn't work for you?

On Fri, Feb 19, 2016 at 1:17 PM Brittany Sattler <bmsatt...@ucdavis.edu>
wrote:

> Stress vs. Elevation graph with two types of stress for the x axis
>
>
> On Friday, February 19, 2016 at 7:07:24 AM UTC-8, Sergey wrote:
>
>> Hi Brittany,
>>
>> It sounds like what you want is to change the orientation of the chart.
>> Could you please elaborate on your use case? Give an example of your data,
>> perhaps?
>>
>> On Thu, Feb 18, 2016 at 9:07 PM Brittany Sattler <bmsa...@ucdavis.edu>
>> wrote:
>>
> I am new to google sheets and can't figure out this one.
>>>
>>> I have two x value columns and one y column that corresponds to both x
>>> columns. I am able to format the graph with one x column and multiple y's,
>>> but does anyone know how to do the opposite??
>>> Thanks!
>>>
>>> --
>>> 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 google-visualization-api+unsubscr...@googlegroups.com.
>>>
>> To post to this group, send email to google-visua...@googlegroups.com.
>>
>>
>>> Visit this group at
>>> https://groups.google.com/group/google-visualization-api.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/google-visualization-api/97368e71-3e88-472b-a350-127d41d223be%40googlegroups.com
>>> <https://groups.google.com/d/msgid/google-visualization-api/97368e71-3e88-472b-a350-127d41d223be%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>>
>> *[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
>> gra...@google.com*
>>
>> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/9b082909-ce17-4a4b-ae5e-ed6cab11d096%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/9b082909-ce17-4a4b-ae5e-ed6cab11d096%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup6mrbu-HA69M8Xt7dyrg-JRP1kfKY8Ae-hsEDGsqtdOLg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Swiss currencies

2016-02-19 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi,

We don't actually support the 'ch' locale in Google Charts. Your best bet
to get this working today would probably be a custom formatting string.

On Fri, Feb 19, 2016 at 9:55 AM Gibono <gib...@gmail.com> wrote:

> Hi,
> I'm trying to display an amount of swiss francs, but I don't find the
> langage associated to Swiss Francs. How can I change the local currency to
> swiss francs?
>
> Here is my code:
>
> google.charts.load('current', {'packages':['corechart'], 'language': 'CH'
> });
> google.charts.setOnLoadCallback(drawChart);
>
>  function drawChart() {
>  var jsonData1 = $.ajax({
>  url: "x.php",
>  dataType: "json",
>  async: false
>  }).responseText;
>  var data1 = new google.visualization.DataTable(jsonData1);
>
>  var options1 = {
>  title : 'Total money',
>  vAxis: {title: 'CHF', format: 'currency'},
>  hAxis: {title: 'Month'},
>  seriesType: 'bars',
>  series: {}
>  };
>
>  options1.series[data1.getNumberOfColumns()-2] = {type: 'line'};
>
>  var chart = new google.visualization.ComboChart(document.getElementById(
> 'chart'));
>  chart.draw(data1, options1);
> }
>
> Thank you very much for the answers.
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/00cefd00-d676-4746-9723-f106732125f9%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/00cefd00-d676-4746-9723-f106732125f9%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup5CmNphg950zQTuBFX4XsHmjSEC5CS2MbUMBDYSHhHYTw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] different between new google.charts.Bar & google.visualization.ComboChart

2016-02-19 Thread 'Sergey Grabkovsky' via Google Visualization API
me page. I was under the impression that these issues were all
>> fixed (presuming you're using the latest Charts code). It is highly likely
>> that the issues are due to *how* you're using Charts, and not due to
>> Charts code itself. However, it is also possible that there's still a bug.
>> Without seeing the code that you're using, I couldn't say whether this is a
>> bug in our code or in yours.
>>
>> On Mon, Feb 15, 2016 at 10:09 AM natarajan govindavel <
>> natara...@gmail.com> wrote:
>>
> Hi Sergey,
>>
>> I have dynamically loading multiple charts in same page using jquery and
>> ajax.
>> Sometimes ( not frequent  and random manner ) some of the charts not
>> displayed.
>> Is this known issue? Is there any workaround for this.
>> Please guide me.
>>
>> Thanks
>> Natarajan Govindavel
>>
>>
>> On Monday, February 1, 2016 at 3:15:29 PM UTC+5:30, natarajan govindavel
>> wrote:
>>
>> Hi Sergey,
>>
>> I have multiple charts on the same page.Everything working fine one of
>> the chart bar color not applied properly.
>> It shows the default color(blue). I faced this issue only in IE 9 and IE
>> 10.
>> i given my code below. please advice me
>>
>>  var chartnew = new
>> google.charts.Bar(document.getElementById('div_id_9'));
>>  chartnew.draw(dataArray[8],
>> google.charts.Bar.convertOptions({
>>  width: 1000,
>>  height: 330,
>>  titlePosition: 'none',
>>  legend: { position: 'right'},
>>  isStacked: true,
>>  vAxis: {title: "Incident Count",textStyle: {color:
>> 'black'}},
>>  hAxis: {title: "Locations",textStyle: {color:
>> 'black'}},
>>  series: {
>> 0:{
>> targetAxisIndex: 0,
>>     color:'#F3C1BC'
>> },
>> 1:{
>> targetAxisIndex: 0,
>> color:'#E7827A'
>> },
>> 2:{
>> targetAxisIndex: 0,
>> color:'#DB4437'
>> }
>> }
>>  }));
>> }
>>
>> Thanks
>> Natarajan Govindavel.
>>
>> On Friday, January 29, 2016 at 8:35:27 PM UTC+5:30, Sergey wrote:
>>
>> Forgot to answer the second part of your question, about the jsfiddle. If
>> you're asking whether the Classic Charts support axis formatting options,
>> they do: https://jsfiddle.net/88z92w4p/
>>
>> On Fri, Jan 29, 2016 at 10:03 AM Sergey Grabkovsky <gra...@google.com>
>> wrote:
>>
>> I don't have any estimates for when you might expect getImageURI for
>> Material Charts. We are currently prioritizing other features.
>>
>> On Fri, Jan 29, 2016 at 1:46 AM natarajan govindavel <natara...@gmail.com>
>> wrote:
>>
>> Hi Sergey,
>>
>> Thank you so much for your help. And one more help
>> When can we expect this feature (getImageURI()) because one of my client
>> really want this.
>> Can we do this kind dynamic charts in Classical Chart(ref below)?
>> https://jsfiddle.net/vqaLpc23/
>>
>> Thanks
>> Natarajan
>>
>>
>> On Thursday, January 28, 2016 at 8:31:40 PM UTC+5:30, Sergey wrote:
>>
>> Hi Natarajan,
>>
>> Your jsfiddle link doesn't link to your jsfiddle (it just links to an
>> empty fiddle). You need to save your fiddle before it gives you a valid
>> link. Presumably, you're talking about .getImageURI(), which is not
>> supported for Material Charts.
>>
>> On Thu, Jan 28, 2016 at 6:28 AM natarajan govindavel <natara...@gmail.com>
>> wrote:
>>
>> Hi Sergey,
>>
>> Do we have Export Option in Material Chart?
>> Can we do this kind dynamic charts in Classical Chart(ref below)?
>> https://jsfiddle.net/api/post/library/pure/
>>
>> Thanks
>> Natarajan Govindavel
>>
>>
>> On Monday, January 25, 2016 at 9:01:05 PM UTC+5:30, Sergey wrote:
>>
>> Hi Natarajan,
>>
>> The issue you are talking about now is a known issue. There are known
>> issues with text measurement with invisible divs. The recommended
>> workaround is to delay the chart rendering until t

Re: [visualization-api] How to have two x columns and one y column in charts?

2016-02-19 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Brittany,

It sounds like what you want is to change the orientation of the chart.
Could you please elaborate on your use case? Give an example of your data,
perhaps?

On Thu, Feb 18, 2016 at 9:07 PM Brittany Sattler <bmsatt...@ucdavis.edu>
wrote:

> I am new to google sheets and can't figure out this one.
>
> I have two x value columns and one y column that corresponds to both x
> columns. I am able to format the graph with one x column and multiple y's,
> but does anyone know how to do the opposite??
> Thanks!
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/97368e71-3e88-472b-a350-127d41d223be%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/97368e71-3e88-472b-a350-127d41d223be%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup4%3D7sV_8ZtKHzS_77qqYe%3DDHruA-4UTfmRdg0377gF8uw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] need help adding range to semicircle donut chart?

2016-02-18 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi,

It sounds like the Gauge Chart
<https://developers.google.com/chart/interactive/docs/gallery/gauge> is
what you're actually looking for. To answer your question directly, you
*could* abuse the PieChart and make it do what you want, but you wouldn't
be able to get the percentage ticks, nor the current value in the middle.

On Thu, Feb 18, 2016 at 9:57 AM coder <preethy.borra...@gmail.com> wrote:

> Need help adding range 0% -  100% on top of semicircle chart and also
> adding 33.3% in center? I am using google charts. Any help would be
> appreciated. Thanks
>
>
>1.
>
> <https://lh3.googleusercontent.com/-2sL4seygcGs/VsXbUfI5ywI/eTY/0Wsy2y3O1Jg/s1600/Screen%2BShot%2B2016-02-18%2Bat%2B9.54.46%2BAM.png>
>
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/0137e1a8-abe5-4534-a774-7afd4ddd0a12%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/0137e1a8-abe5-4534-a774-7afd4ddd0a12%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup5fqcg9ipqR_E-XgLHfGWU65LzvTruoXP8%3D2EFy38%2BfMA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Dynamically add rows to google spreadsheet - response.getDataTable() function is used

2016-02-18 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Joseph,

I just tested this myself, and things appear to work fairly reasonably.

Here is a jsfiddle example of me querying a spreadsheet, using
response.getDataTable(), drawing it, adding a row to the data, and then
drawing in another Table: http://jsfiddle.net/3L8fck9f/

On Thu, Feb 18, 2016 at 1:18 AM <josephvi...@gmail.com> wrote:

> Hello,
>
> I am new to Google Charts. I use response.getDataTable() to fetch data
> from spreadsheet and create a bubble chart. Now I want to add rows
> dynamically to the data table. But data.addRow() function is not working
> for me. Could someone please help me with the issue?
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/9cba2c74-a5ec-4e6f-af92-3b2cccf77c76%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/9cba2c74-a5ec-4e6f-af92-3b2cccf77c76%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup4c2_MvGwU2bSgYiu49GO6dseXuYNm0w1FwHQ23-Z8dCw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Geo Map disputed areas

2016-02-17 Thread 'Sergey Grabkovsky' via Google Visualization API
Sadly, our architecture does not work that way, and it is currently
non-trivial to update our map data for the GeoChart and GeoMap.

I don't have any estimates for when we might update the data.

On Wed, Feb 17, 2016 at 12:34 PM Dmitry <kostro...@gmail.com> wrote:

> In google maps made of the Crimea in Russia mapping laws, so it is unclear
> why it does not apply to all other services.
>
> среда, 17 февраля 2016 г., 20:05:29 UTC+3 пользователь Sergey написал:
>>
>> Because the domain "IN" has been implemented for a while, and unlike
>> Russia, India has laws that make not displaying certain territories as
>> part of India illegal
>> <https://en.wikipedia.org/wiki/UN_mediation_of_Kashmir#Map_issues>.
>>
>> On Wed, Feb 17, 2016 at 11:59 AM Dmitry <kost...@gmail.com> wrote:
>>
> why for domain IN works in geochart? Some have approximate dates for the
>>> implementation in domain RU?
>>>
>>> среда, 17 февраля 2016 г., 17:35:19 UTC+3 пользователь Sergey написал:
>>>>
>>>> Dmitry,
>>>>
>>>> No, we still haven't added an 'RU' domain. It will not work for
>>>> GeoChart.
>>>>
>>>> On Wed, Feb 17, 2016 at 6:19 AM Dmitry <kost...@gmail.com> wrote:
>>>>
>>> Sergey, in the domain RU have any change? And if it will work in
>>>>> GeoChart?
>>>>>
>>>>> четверг, 15 октября 2015 г., 16:58:09 UTC+3 пользователь Sergey
>>>>> написал:
>>>>>>
>>>>>> Hi Igor,
>>>>>>
>>>>>> Domain: 'RU' will not work right now. These domains are explicitly
>>>>>> added by us and require manual work, so they will be accompanied by an
>>>>>> announcement that we are now supporting this domain, as well as a change 
>>>>>> in
>>>>>> our documentation. We are working on updating the maps to reflect the
>>>>>> recently changed political structure.
>>>>>>
>>>>>> On Thu, Oct 15, 2015 at 9:47 AM Igor Mayev <enfor...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>> Sergey, and what about domain: 'RU' for Russian version where:
>>>>>>> Crimea is a part of Russia, not Ukraine,
>>>>>>> Kosovo is a part of Serbia,
>>>>>>> Abkhazia and South Ossetia are not the regions of Georgia but are
>>>>>>> independent states?
>>>>>>>
>>>>>>> I tried the construction: domain: 'RU', but failed.
>>>>>>> Thank you in advance.
>>>>>>>
>>>>>>> среда, 25 июня 2014 г., 18:37:41 UTC+4 пользователь Sergey написал:
>>>>>>>
>>>>>>>> In fact, you can! If you set the domain option to 'IN', it should
>>>>>>>> show the Indian version of the map.
>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>> 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
>>>>>>> google-visualization-api+unsubscr...@googlegroups.com.
>>>>>>>
>>>>>> To post to this group, send email to google-visua...@googlegroups.com
>>>>>>> .
>>>>>>
>>>>>>
>>>>>>> Visit this group at
>>>>>>> http://groups.google.com/group/google-visualization-api.
>>>>>>> To view this discussion on the web visit
>>>>>>> https://groups.google.com/d/msgid/google-visualization-api/26ab1758-6436-40de-a11b-d447c6218af2%40googlegroups.com
>>>>>>> <https://groups.google.com/d/msgid/google-visualization-api/26ab1758-6436-40de-a11b-d447c6218af2%40googlegroups.com?utm_medium=email_source=footer>
>>>>>>> .
>>>>>>> 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 google-visualization-api+unsubscr...@googlegroups.

Re: [visualization-api] Data ownership

2016-02-17 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Joey,

If you are using interactive Google Charts, no data is sent to Google, and
Google *definitely does not acquire ownership* any data.

There have been a few similar questions asked recently. Here's one where I
provided a fairly detailed response
<https://github.com/google/google-visualization-issues/issues/2169>.

Please post back if you have further questions.

On Wed, Feb 17, 2016 at 12:23 PM Joey Williams <joeywilli...@mac.com> wrote:

> Hi there. I work for a public university, and am interested in using GC.
> Some of my colleagues, who are hesitant to use it, say that in the past
> they've been told they can't use it because of data ownership issues.
>
> If we use Google Charts, does Google then 'own' any data we display?
>
> Appreciate any info the group has to share on this.
>
> Thanks!
>
> Joey
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/4371ec86-9334-434d-a08d-b91311a95674%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/4371ec86-9334-434d-a08d-b91311a95674%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup5tOKGfYJzXteBzLBEaT_Wvk6QsYpqPe41X5d5Pe982OQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Geo Map disputed areas

2016-02-17 Thread 'Sergey Grabkovsky' via Google Visualization API
Because the domain "IN" has been implemented for a while, and unlike
Russia, India has laws that make not displaying certain territories as part
of India illegal
<https://en.wikipedia.org/wiki/UN_mediation_of_Kashmir#Map_issues>.

On Wed, Feb 17, 2016 at 11:59 AM Dmitry <kostro...@gmail.com> wrote:

> why for domain IN works in geochart? Some have approximate dates for the
> implementation in domain RU?
>
> среда, 17 февраля 2016 г., 17:35:19 UTC+3 пользователь Sergey написал:
>>
>> Dmitry,
>>
>> No, we still haven't added an 'RU' domain. It will not work for GeoChart.
>>
>> On Wed, Feb 17, 2016 at 6:19 AM Dmitry <kost...@gmail.com> wrote:
>>
> Sergey, in the domain RU have any change? And if it will work in GeoChart?
>>>
>>> четверг, 15 октября 2015 г., 16:58:09 UTC+3 пользователь Sergey написал:
>>>>
>>>> Hi Igor,
>>>>
>>>> Domain: 'RU' will not work right now. These domains are explicitly
>>>> added by us and require manual work, so they will be accompanied by an
>>>> announcement that we are now supporting this domain, as well as a change in
>>>> our documentation. We are working on updating the maps to reflect the
>>>> recently changed political structure.
>>>>
>>>> On Thu, Oct 15, 2015 at 9:47 AM Igor Mayev <enfor...@gmail.com> wrote:
>>>>
>>> Sergey, and what about domain: 'RU' for Russian version where:
>>>>> Crimea is a part of Russia, not Ukraine,
>>>>> Kosovo is a part of Serbia,
>>>>> Abkhazia and South Ossetia are not the regions of Georgia but are
>>>>> independent states?
>>>>>
>>>>> I tried the construction: domain: 'RU', but failed.
>>>>> Thank you in advance.
>>>>>
>>>>> среда, 25 июня 2014 г., 18:37:41 UTC+4 пользователь Sergey написал:
>>>>>
>>>>>> In fact, you can! If you set the domain option to 'IN', it should
>>>>>> show the Indian version of the map.
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>> 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 google-visualization-api+unsubscr...@googlegroups.com.
>>>>>
>>>> To post to this group, send email to google-visua...@googlegroups.com.
>>>>
>>>>
>>>>> Visit this group at
>>>>> http://groups.google.com/group/google-visualization-api.
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/google-visualization-api/26ab1758-6436-40de-a11b-d447c6218af2%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/google-visualization-api/26ab1758-6436-40de-a11b-d447c6218af2%40googlegroups.com?utm_medium=email_source=footer>
>>>>> .
>>>>> 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 google-visualization-api+unsubscr...@googlegroups.com.
>>> To post to this group, send email to google-visua...@googlegroups.com.
>>>
>> Visit this group at
>>> https://groups.google.com/group/google-visualization-api.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/google-visualization-api/89d7a7e1-9288-4d40-8a70-9368b5f08d38%40googlegroups.com
>>> <https://groups.google.com/d/msgid/google-visualization-api/89d7a7e1-9288-4d40-8a70-9368b5f08d38%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>>
>> *[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
>> gra...@google.com*
>>
>> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups

Re: [visualization-api] JSON data parse error

2016-02-17 Thread 'Sergey Grabkovsky' via Google Visualization API
Okay, so first of all, the google.visualization.Query expects the response
to be jsonp, which means that it's a JSON object passed to a function, i.e.
"processResponse({"abc": 123})". Setting the sendMethod option
<https://developers.google.com/chart/interactive/docs/reference#constructor_10>
to 'xhr' should make it work (assuming there are no cross-domain issues).

However, there is another problem. google.visualization.Query only works
with Google Charts Data Sources, as described here
<https://developers.google.com/chart/interactive/docs/dev/implementing_data_source>.
As you can hopefully see from the "Response Format" documentation
<https://developers.google.com/chart/interactive/docs/dev/implementing_data_source#response-format>,
the query expects a number of things to exist in the response JSON, such as
a "reqId" and "status". Another thing is that it expects a DataTable to be
included in the response (assuming that no error has occurred).

Your DataSource's response obviously does not include any of these things,
and will fail again for these reasons after you fix the first issue (with
the Query expecting a jsonp response). Your best bet would probably be to
use $.ajax <http://api.jquery.com/jquery.ajax/> to fetch your json, and
some custom JavaScript code to coerce it into a DataTable.

On Wed, Feb 17, 2016 at 10:18 AM Nick Dunbar <dunbar.n...@gmail.com> wrote:

> Hi Sergey,
>
> I am using google.visualization.Query with the following code:
>
> var query = new google.visualization.Query('
> https://api.stlouisfed.org/fred/series?series_id=GNPCA_key=d804714094ebfac5b67efd8b1e3da28f_type=json'
> );
> query.send(handleQueryResponse);
> function handleQueryResponse(response) {
>   if (response.isError()) {
> alert('Error in query: ' + response.getMessage() + ' ' +
> response.getDetailedMessage());
> return;
> }
>
> (note that the API is the Federal Reserve which requires a dedicated API
> key)
>
> I also have the jQuery API loaded, and I know there is a jQuery.parseJSON
> method but I don't know how it works.
>
> Thanks for your assistance,
>
> Nick
>
> On Wed, Feb 17, 2016 at 2:54 PM, 'Sergey Grabkovsky' via Google
> Visualization API <google-visualization-api@googlegroups.com> wrote:
>
>> Hi Nick,
>>
>> Are you trying to use the google.visualization.Query to load the JSON
>> file? Or are you using XHR or jQuery to load it?
>>
>> On Wed, Feb 17, 2016 at 9:51 AM Nick Dunbar <dunbar.n...@gmail.com>
>> wrote:
>>
>>> Any thoughts on this one? I appreciate this is XML but I am trying to
>>> avoid having to learn Python to do this properly.
>>>
>>> All help appreciated.
>>> Nick
>>>
>>> On Mon, Feb 15, 2016 at 5:07 PM, <dunbar.n...@gmail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> I'm using the Query/response method to download data from an API source
>>>> into a dataTable, but I get "SyntaxError: Unexpected token ':'. Parse
>>>> error." followed by a timeout alert. However, in the console, the
>>>> downloaded data (pasted below) appears ok to me. Can anyone spot what the
>>>> problem is, and how to fix it?
>>>>
>>>> Thanks,
>>>> Nick
>>>>
>>>>
>>>> {
>>>> "realtime_start": "2016-02-15",
>>>> "realtime_end": "2016-02-15",
>>>> "seriess": [{
>>>> "id": "GNPCA",
>>>> "realtime_start": "2016-02-15",
>>>> "realtime_end": "2016-02-15",
>>>> "title": "Real Gross National Product",
>>>> "observation_start": "1929-01-01",
>>>> "observation_end": "2014-01-01",
>>>> "frequency": "Annual",
>>>> "frequency_short": "A",
>>>> "units": "Billions of Chained 2009 Dollars",
>>>> "units_short": "Bil. of Chn. 2009 $",
>>>> "seasonal_adjustment": "Not Seasonally Adjusted",
>>>> "seasonal_adjustment_short": "NSA",
>>>> "last_updated": "2015-07-30 09:03:15-05",
>>>> "popularity": 25,
>>>> "notes": "BEA Account Code: A001RX1"
>>>> }
>>>> ]
>>>>

Re: [visualization-api] JSON data parse error

2016-02-17 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Nick,

Are you trying to use the google.visualization.Query to load the JSON file?
Or are you using XHR or jQuery to load it?

On Wed, Feb 17, 2016 at 9:51 AM Nick Dunbar <dunbar.n...@gmail.com> wrote:

> Any thoughts on this one? I appreciate this is XML but I am trying to
> avoid having to learn Python to do this properly.
>
> All help appreciated.
> Nick
>
> On Mon, Feb 15, 2016 at 5:07 PM, <dunbar.n...@gmail.com> wrote:
>
>> Hi,
>>
>> I'm using the Query/response method to download data from an API source
>> into a dataTable, but I get "SyntaxError: Unexpected token ':'. Parse
>> error." followed by a timeout alert. However, in the console, the
>> downloaded data (pasted below) appears ok to me. Can anyone spot what the
>> problem is, and how to fix it?
>>
>> Thanks,
>> Nick
>>
>>
>> {
>> "realtime_start": "2016-02-15",
>> "realtime_end": "2016-02-15",
>> "seriess": [{
>> "id": "GNPCA",
>> "realtime_start": "2016-02-15",
>> "realtime_end": "2016-02-15",
>> "title": "Real Gross National Product",
>> "observation_start": "1929-01-01",
>> "observation_end": "2014-01-01",
>> "frequency": "Annual",
>> "frequency_short": "A",
>> "units": "Billions of Chained 2009 Dollars",
>> "units_short": "Bil. of Chn. 2009 $",
>> "seasonal_adjustment": "Not Seasonally Adjusted",
>> "seasonal_adjustment_short": "NSA",
>> "last_updated": "2015-07-30 09:03:15-05",
>> "popularity": 25,
>> "notes": "BEA Account Code: A001RX1"
>> }
>> ]
>> }
>>
> --
>> 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/dmBdIMqe3_U/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to
>> google-visualization-api+unsubscr...@googlegroups.com.
>
>
>> To post to this group, send email to
>> google-visualization-api@googlegroups.com.
>> Visit this group at
>> https://groups.google.com/group/google-visualization-api.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/google-visualization-api/f503f439-d42d-4f03-883d-34beb59fe529%40googlegroups.com
>> <https://groups.google.com/d/msgid/google-visualization-api/f503f439-d42d-4f03-883d-34beb59fe529%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/CAO5F7cupLWhL4faj6icb0KOa-qOTdEC_ygS_iOGq7cLqxWE1dQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/google-visualization-api/CAO5F7cupLWhL4faj6icb0KOa-qOTdEC_ygS_iOGq7cLqxWE1dQ%40mail.gmail.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup6-ufv2YLJir0gG%3DnW3c2wcY2k_05EE9WTSL-bx_foKKQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] gstatic.com

2016-02-16 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Logan,

gstatic.com serves static content for Google
<http://superuser.com/questions/64716/i-regularly-see-gstatic-com-in-the-status-bar-what-is-that-domain>.
I don't believe that gstatic serves any ads, but I can't promise that.

There is no configuration where you can "call the .swf internally". Copying
the SWF to your own servers would be a breach of our Terms of Service.

On Tue, Feb 16, 2016 at 1:45 PM Logan Meltabarger <lrmeltabar...@gmail.com>
wrote:

> I am trying to use googleVis' gvisMotionChart in a Shiny app from behind a
> corporate firewall.
>
> We currently have www.gstatic.com blocked and see it calling
> tlz-gviz.swf. Is there an alternate configuration where I can prevent this
> from happening and have it call the .swf internally?
>
>
>
> If not, what is on www.gstatic.com? Does this site serve any other
> content? Ads of any type?
>
> Thanks,
> Logan
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/703aa543-6497-4aaa-ac9a-91284487a8bb%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/703aa543-6497-4aaa-ac9a-91284487a8bb%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup7JFxM3w9Vy_LLipaWqZKOVsxccLrdF8gUKC5qy5V%2BpyQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] How can i add a line to a material Design bar chart?

2016-02-16 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Willem,

This is currently not possible for Material Charts, because it is not
implemented. See this bug
<https://github.com/google/google-visualization-issues/issues/2143> for an
exhaustive list of unimplemented options/features.

On Tue, Feb 16, 2016 at 1:07 PM Willem van der plaat <wpl...@gmail.com>
wrote:

> Hello,
>
> I am searching for a solution to add a horizontal line to a material
> design bar chart?
>
> Check out http://energy.plaatsoft.nl/ (Day report - Used Electricty) for
> the used code so far!
>
> I want to add forecast line to this chart. Can not get it working with the
> bar material design version!
>
> Any help is welcome!
>
> Willem
>
>
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/46bae41c-792f-4f72-a6dc-8e42eacb8f06%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/46bae41c-792f-4f72-a6dc-8e42eacb8f06%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup4XEsH9D0YF6qcFSZT9XCUw3LUKF%3DeznWRpOmn%3Dqnf4Qg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Cannot Change Background of the Google Chart

2016-02-16 Thread 'Sergey Grabkovsky' via Google Visualization API
Glad to hear that you figured it out!

On Tue, Feb 16, 2016 at 10:47 AM Baris Sarac <barishsa...@gmail.com> wrote:

> You were right. I copied and pasted your code on top of mine and found out
> that even though in the coding application is not showing, there was a
> character.  Thank you!
>
>
> <https://lh3.googleusercontent.com/-NFHE-GYGFSQ/VsNEdZPSRiI/a_8/eafj5AE0TVo/s1600/error.JPG>
>
>
> On Thursday, February 4, 2016 at 12:04:16 PM UTC-6, Sergey wrote:
>
>> Ok, I'd say that if you copy/pasted that code into your email, then that
>> space appeared for a reason.
>>
>> The option "chartArea.backgroundColor" doesn't work for Pie Chart, but
>> top-level backgroundColor does.
>>
>> jsfiddle <http://jsfiddle.net/cgmxzpuf/> and screenshot:
>> [image: Screen Shot 2016-02-04 at 13.01.29.png]
>>
>> If you're still experiencing this issue, please modify the jsfiddle to
>> reproduce it, since the code you're pasting works for me.
>>
>> On Thu, Feb 4, 2016 at 12:20 PM Baris Sarac <baris...@gmail.com> wrote:
>>
> [image: Auto Generated Inline Image 1]\
>>>
>>> See there is no extra space. It showed like that in the code I pasted
>>> for some reason..
>>>
>>> On Thursday, February 4, 2016 at 10:31:01 AM UTC-6, Sergey wrote:
>>>>
>>>> Hi Baris,
>>>>
>>>> Your property has a space before it, as in you're writing
>>>> '_backgroundColor' (with a space instead of an underscore), where you
>>>> should be writing 'backgroundColor'. Here is an example of your options
>>>> working perfectly: http://jsfiddle.net/nLf64qga/
>>>>
>>>> On Thu, Feb 4, 2016 at 11:27 AM Baris Sarac <baris...@gmail.com> wrote:
>>>>
>>> Here is how it looks:
>>>>> <https://lh3.googleusercontent.com/-ngtD7PPtO_Y/VrN7UAWLUqI/aqk/dgFlO5S4-zE/s1600/Untitled-1.jpg>
>>>>>
>>>>>
>>>>> <https://lh3.googleusercontent.com/-ngtD7PPtO_Y/VrN7UAWLUqI/aqk/dgFlO5S4-zE/s1600/Untitled-1.jpg>
>>>>>
>>>>> Here is the code:
>>>>>
>>>>> var options = {'title': 'abc',
>>>>>'width': 300,
>>>>>'height': 250,
>>>>>'is3D':true,
>>>>>'fontSize':18,
>>>>>' backgroundColor': '#FCF3E5',
>>>>>'chartArea': {'width': '80%', 'height': '80%','
>>>>> backgroundColor': '#FCF3E5'},
>>>>>'legend': {'position': 'none'},
>>>>> };
>>>>>
>>>>> I tried only  bacgroundColor it didn't work, then I tried
>>>>> backgroundColor inside  chartArea that didn't work either. I even tried
>>>>> both, in the aboe example, that didn't work too. I cannot change their
>>>>> background color.
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> 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 google-visualization-api+unsubscr...@googlegroups.com.
>>>>>
>>>> To post to this group, send email to google-visua...@googlegroups.com.
>>>>
>>>>
>>>>> Visit this group at
>>>>> https://groups.google.com/group/google-visualization-api.
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/google-visualization-api/5cadf2fe-565b-4cb5-8609-83ec00543c8a%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/google-visualization-api/5cadf2fe-565b-4cb5-8609-83ec00543c8a%40googlegroups.com?utm_medium=email_source=footer>
>>>>> .
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>> --
>>>>
>>>> *[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google,
>>>> Inc• gra...@google.com*
>>>>
>>>> --
>>> 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 google-visualization-api+unsubscr...@googlegroups.com.
>>> To post to this group, send em

Re: [visualization-api] Re: А есть ли инструкция на русском языке?

2016-02-16 Thread 'Sergey Grabkovsky' via Google Visualization API
К сожалению, наша документация только написана на Английском языке. Если у
вас какой-то конкретный вопрос, я могу попытаться вам помочь.

On Mon, Feb 15, 2016 at 10:18 AM tronik X <tr0nik@gmail.com> wrote:

> так и не понятно
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/71a80254-1a47-47db-8ae2-420b496b92ed%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/71a80254-1a47-47db-8ae2-420b496b92ed%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup6XjNv1GcyfbgAROqSqxkgAToc%3DJaC%3DYHsbpESOhiJV1Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] different between new google.charts.Bar & google.visualization.ComboChart

2016-02-16 Thread 'Sergey Grabkovsky' via Google Visualization API
Natarajan,

We've seen a number of bugs with multiple Material charts not rendering on
the same page. I was under the impression that these issues were all fixed
(presuming you're using the latest Charts code). It is highly likely that
the issues are due to *how* you're using Charts, and not due to Charts code
itself. However, it is also possible that there's still a bug. Without
seeing the code that you're using, I couldn't say whether this is a bug in
our code or in yours.

On Mon, Feb 15, 2016 at 10:09 AM natarajan govindavel <
natarajan...@gmail.com> wrote:

> Hi Sergey,
>
> I have dynamically loading multiple charts in same page using jquery and
> ajax.
> Sometimes ( not frequent  and random manner ) some of the charts not
> displayed.
> Is this known issue? Is there any workaround for this.
> Please guide me.
>
> Thanks
> Natarajan Govindavel
>
>
> On Monday, February 1, 2016 at 3:15:29 PM UTC+5:30, natarajan govindavel
> wrote:
>
>> Hi Sergey,
>>
>> I have multiple charts on the same page.Everything working fine one of
>> the chart bar color not applied properly.
>> It shows the default color(blue). I faced this issue only in IE 9 and IE
>> 10.
>> i given my code below. please advice me
>>
>>  var chartnew = new
>> google.charts.Bar(document.getElementById('div_id_9'));
>>  chartnew.draw(dataArray[8],
>> google.charts.Bar.convertOptions({
>>  width: 1000,
>>  height: 330,
>>  titlePosition: 'none',
>>  legend: { position: 'right'},
>>  isStacked: true,
>>  vAxis: {title: "Incident Count",textStyle: {color:
>> 'black'}},
>>  hAxis: {title: "Locations",textStyle: {color:
>> 'black'}},
>>  series: {
>> 0:{
>> targetAxisIndex: 0,
>> color:'#F3C1BC'
>> },
>> 1:{
>> targetAxisIndex: 0,
>> color:'#E7827A'
>> },
>> 2:{
>> targetAxisIndex: 0,
>> color:'#DB4437'
>> }
>> }
>>  }));
>> }
>>
>> Thanks
>> Natarajan Govindavel.
>>
>> On Friday, January 29, 2016 at 8:35:27 PM UTC+5:30, Sergey wrote:
>>
>> Forgot to answer the second part of your question, about the jsfiddle. If
>> you're asking whether the Classic Charts support axis formatting options,
>> they do: https://jsfiddle.net/88z92w4p/
>>
>> On Fri, Jan 29, 2016 at 10:03 AM Sergey Grabkovsky <gra...@google.com>
>> wrote:
>>
>> I don't have any estimates for when you might expect getImageURI for
>> Material Charts. We are currently prioritizing other features.
>>
>> On Fri, Jan 29, 2016 at 1:46 AM natarajan govindavel <natara...@gmail.com>
>> wrote:
>>
>> Hi Sergey,
>>
>> Thank you so much for your help. And one more help
>> When can we expect this feature (getImageURI()) because one of my client
>> really want this.
>> Can we do this kind dynamic charts in Classical Chart(ref below)?
>> https://jsfiddle.net/vqaLpc23/
>>
>> Thanks
>> Natarajan
>>
>>
>> On Thursday, January 28, 2016 at 8:31:40 PM UTC+5:30, Sergey wrote:
>>
>> Hi Natarajan,
>>
>> Your jsfiddle link doesn't link to your jsfiddle (it just links to an
>> empty fiddle). You need to save your fiddle before it gives you a valid
>> link. Presumably, you're talking about .getImageURI(), which is not
>> supported for Material Charts.
>>
>> On Thu, Jan 28, 2016 at 6:28 AM natarajan govindavel <natara...@gmail.com>
>> wrote:
>>
>> Hi Sergey,
>>
>> Do we have Export Option in Material Chart?
>> Can we do this kind dynamic charts in Classical Chart(ref below)?
>> https://jsfiddle.net/api/post/library/pure/
>>
>> Thanks
>> Natarajan Govindavel
>>
>>
>> On Monday, January 25, 2016 at 9:01:05 PM UTC+5:30, Sergey wrote:
>>
>> Hi Natarajan,
>>
>> The issue you are talking about now is a known issue. There are known
>> issues with text measurement with invisible divs. The recommended
>> workaround is to delay the chart rendering until the div becomes visible.
>&

Re: [visualization-api] BackgroundColor fill none

2016-02-16 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Mark,

As documented on our BarChart documentation page
<https://developers.google.com/chart/interactive/docs/gallery/barchart>, in
order to use the Material Bar chart with the old options (which is the only
documented way of using it at the moment), you have to call
google.charts.Bar.convertOptions on your options structure.

Here is a working jsfiddle of your example: http://jsfiddle.net/secb0bk3/

On Mon, Feb 15, 2016 at 9:32 AM Mark Lankhorst <lankhorst.m...@gmail.com>
wrote:

> Hi all,
>
> I'm working with the Google charts for a few days, but the backgroundColor
> fill option is not working in my chart.
>
> The code i'm using:
>
> 
> // Load the Visualization API and the chart packages.
> google.charts.load('current', {'packages': ['gauge', 'bar'], 'language':
> 'nl'});
> // Set a callback to run when the Google Visualization API is loaded.
> google.charts.setOnLoadCallback(drawChart);
> // Callback that creates and populates a data table,
> // instantiates the charts, passes in the data and
> // draws them.
> function drawChart() {
> // Create the data table.
> var BarData = new google.visualization.arrayToDataTable([
>   ['', 'Kosten', 'Target', 'Opbrengst'],
>   [' ', 1, 2, 3]
>
> ]);
>  var BarOptions = {
>   bars: 'vertical',
>   vAxis: {format: 'currency'},
>   height: 150,
>   width: 340,
>   backgroundColor: {fill: 'none'},
>   colors: ['#3265cb', '#109617', '#e9573f']
> };
> var BarChart = new google.charts.Bar(document.getElementById(
> 'bar_chart'));
> BarChart.draw(BarData, BarOptions);
> };
> 
>
> Hope someone can help me.
>
> Mark
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/304d80f6-e821-4225-8955-bec556c32812%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/304d80f6-e821-4225-8955-bec556c32812%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup4-Lco9V1m6E6reX-Qah15Aa4iKBAYcKtjwn5sKcQe98w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Noob question

2016-02-16 Thread 'Sergey Grabkovsky' via Google Visualization API
I'm actually not quite sure how to help you at this point. I can't imagine
what you're doing wrong. I'd need to help you via remote desktop or a video
or something, in order to actually see what you're trying to do.

On Sun, Feb 14, 2016 at 3:14 AM Susannah Jones <marysjone...@gmail.com>
wrote:

> I downloaded atom, but now when I opened the file, pasted the code, and
> saved it as an html file, it just looks like this: À À À À. What should I
> do?
>
>
> On Friday, February 12, 2016 at 5:46:19 PM UTC-5, Sergey wrote:
>
>> Oh wow. OK.
>>
>> I'm not really sure how you got to this point. Your HTML file contains
>> the formatted (and syntax highlighted) code. Did you use TextEdit to save
>> the file? You need to use a plain text editor, or force TextEdit to save in
>> plain text, without formatting. I strongly recommend you use a real code
>> editor, like Sublime Text, or Atom, or TextMate.
>>
>> On Fri, Feb 12, 2016 at 5:11 PM Susannah Jones <marysj...@gmail.com>
>> wrote:
>>
> OS X El Capitan. I attached the file and a screenshot of the file opened
>>> in chrome. I used the sample pie chart code from Google developer's
>>> quickstart page. I'm so confused as to why it won't open properly.
>>>
>>>
>>> On Thursday, February 11, 2016 at 10:10:29 AM UTC-5, Sergey wrote:
>>>
>>>> Just for a sanity check, would you mind taking a screenshot of your
>>>> chrome window?
>>>>
>>>> What operating system are you using?
>>>>
>>>> On Thu, Feb 11, 2016 at 10:08 AM Susannah Jones <marysj...@gmail.com>
>>>> wrote:
>>>>
>>> I did save it as both an .htm and .html file. I'm not sure why it would
>>>>> be acting this way.
>>>>>
>>>>> On Thu, Feb 11, 2016 at 10:05 AM, 'Sergey Grabkovsky' via Google
>>>>> Visualization API <google-visua...@googlegroups.com> wrote:
>>>>>
>>>> Hi Susannah,
>>>>>>
>>>>>> Did you save the file with a ".html" extension? A lot of operating
>>>>>> systems (namely windows) hide the extension, making it difficult to 
>>>>>> change.
>>>>>> This means that if you create a text file called "test", it's actual
>>>>>> filename is "test.txt", where windows hides the .txt part. If you attempt
>>>>>> to just rename the file, and change its extension that way, you'll wind 
>>>>>> up
>>>>>> with "test.html.txt" (because windows hid the .txt extensions, causing 
>>>>>> your
>>>>>> extension to be inserted between the filename and the *actual* 
>>>>>> extension).
>>>>>> You can double check the actual extension when you're viewing the file in
>>>>>> Chrome, just by looking at the last couple of characters and ensuring 
>>>>>> that
>>>>>> they are in fact ".html", and not ".txt" or ".rtf".
>>>>>>
>>>>>> On Thu, Feb 11, 2016 at 12:03 AM Susannah Jones <marysj...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>> Hi! I'm trying to work with the beginner's tutorial with pie charts. I
>>>>>>> followed the directions, copied the source code, saved it to an html 
>>>>>>> file,
>>>>>>> and then opened the said file into chrome but all I see is the source 
>>>>>>> code
>>>>>>> instead of the actual pie chart. Am I missing something?
>>>>>>>
>>>>>>> --
>>>>>>> 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
>>>>>>> google-visualization-api+unsubscr...@googlegroups.com.
>>>>>>
>>>>>>
>>>>>>> To post to this group, send email to
>>>>>>> google-visua...@googlegroups.com.
>>>>>>
>>>>>>
>>>>>>> Visit this group at
>>>>>>> https://groups.google.com/group/google-visualization-api.
>>>>>>> To view this discussion on the web visit
>>>>>>> https://groups.google.com/d/msgid/google-visualization-api/a5e15cd4-93ff-48b6-9d15-5e790a4b493f%40

Re: [visualization-api] Noob question

2016-02-12 Thread 'Sergey Grabkovsky' via Google Visualization API
Oh wow. OK.

I'm not really sure how you got to this point. Your HTML file contains the
formatted (and syntax highlighted) code. Did you use TextEdit to save the
file? You need to use a plain text editor, or force TextEdit to save in
plain text, without formatting. I strongly recommend you use a real code
editor, like Sublime Text, or Atom, or TextMate.

On Fri, Feb 12, 2016 at 5:11 PM Susannah Jones <marysjone...@gmail.com>
wrote:

> OS X El Capitan. I attached the file and a screenshot of the file opened
> in chrome. I used the sample pie chart code from Google developer's
> quickstart page. I'm so confused as to why it won't open properly.
>
>
> On Thursday, February 11, 2016 at 10:10:29 AM UTC-5, Sergey wrote:
>
>> Just for a sanity check, would you mind taking a screenshot of your
>> chrome window?
>>
>> What operating system are you using?
>>
>> On Thu, Feb 11, 2016 at 10:08 AM Susannah Jones <marysj...@gmail.com>
>> wrote:
>>
> I did save it as both an .htm and .html file. I'm not sure why it would be
>>> acting this way.
>>>
>>> On Thu, Feb 11, 2016 at 10:05 AM, 'Sergey Grabkovsky' via Google
>>> Visualization API <google-visua...@googlegroups.com> wrote:
>>>
>> Hi Susannah,
>>>>
>>>> Did you save the file with a ".html" extension? A lot of operating
>>>> systems (namely windows) hide the extension, making it difficult to change.
>>>> This means that if you create a text file called "test", it's actual
>>>> filename is "test.txt", where windows hides the .txt part. If you attempt
>>>> to just rename the file, and change its extension that way, you'll wind up
>>>> with "test.html.txt" (because windows hid the .txt extensions, causing your
>>>> extension to be inserted between the filename and the *actual* extension).
>>>> You can double check the actual extension when you're viewing the file in
>>>> Chrome, just by looking at the last couple of characters and ensuring that
>>>> they are in fact ".html", and not ".txt" or ".rtf".
>>>>
>>>> On Thu, Feb 11, 2016 at 12:03 AM Susannah Jones <marysj...@gmail.com>
>>>> wrote:
>>>>
>>> Hi! I'm trying to work with the beginner's tutorial with pie charts. I
>>>>> followed the directions, copied the source code, saved it to an html file,
>>>>> and then opened the said file into chrome but all I see is the source code
>>>>> instead of the actual pie chart. Am I missing something?
>>>>>
>>>>> --
>>>>> 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 google-visualization-api+unsubscr...@googlegroups.com.
>>>>
>>>>
>>>>> To post to this group, send email to google-visua...@googlegroups.com.
>>>>
>>>>
>>>>> Visit this group at
>>>>> https://groups.google.com/group/google-visualization-api.
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/google-visualization-api/a5e15cd4-93ff-48b6-9d15-5e790a4b493f%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/google-visualization-api/a5e15cd4-93ff-48b6-9d15-5e790a4b493f%40googlegroups.com?utm_medium=email_source=footer>
>>>>> .
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>> --
>>>>
>>>> *[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google,
>>>> Inc• gra...@google.com*
>>>>
>>>> --
>>>> 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/GC_xZdQNO2Q/unsubscribe
>>>> .
>>>> To unsubscribe from this group and all its topics, send an email to
>>>> google-visualization-api+unsubscr...@googlegroups.com.
>>>
>>>
>>>> To post to this group, send email to google-visua...@googlegroups.com.
>>>
>>>
>>>> Visit this group at
>>>> https://groups.google.com/group/google-visualization-api.
>>>>
>>> To view this discussion on the

Re: [visualization-api] Noob question

2016-02-11 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Susannah,

Did you save the file with a ".html" extension? A lot of operating systems
(namely windows) hide the extension, making it difficult to change. This
means that if you create a text file called "test", it's actual filename is
"test.txt", where windows hides the .txt part. If you attempt to just
rename the file, and change its extension that way, you'll wind up with
"test.html.txt" (because windows hid the .txt extensions, causing your
extension to be inserted between the filename and the *actual* extension).
You can double check the actual extension when you're viewing the file in
Chrome, just by looking at the last couple of characters and ensuring that
they are in fact ".html", and not ".txt" or ".rtf".

On Thu, Feb 11, 2016 at 12:03 AM Susannah Jones <marysjone...@gmail.com>
wrote:

> Hi! I'm trying to work with the beginner's tutorial with pie charts. I
> followed the directions, copied the source code, saved it to an html file,
> and then opened the said file into chrome but all I see is the source code
> instead of the actual pie chart. Am I missing something?
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/a5e15cd4-93ff-48b6-9d15-5e790a4b493f%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/a5e15cd4-93ff-48b6-9d15-5e790a4b493f%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup4D97KMCMWE2hNc2Xucp_-zYhYXpX6_k3yNDpwhXQU2jw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Noob question

2016-02-11 Thread 'Sergey Grabkovsky' via Google Visualization API
Just for a sanity check, would you mind taking a screenshot of your chrome
window?

What operating system are you using?

On Thu, Feb 11, 2016 at 10:08 AM Susannah Jones <marysjone...@gmail.com>
wrote:

> I did save it as both an .htm and .html file. I'm not sure why it would be
> acting this way.
>
> On Thu, Feb 11, 2016 at 10:05 AM, 'Sergey Grabkovsky' via Google
> Visualization API <google-visualization-api@googlegroups.com> wrote:
>
>> Hi Susannah,
>>
>> Did you save the file with a ".html" extension? A lot of operating
>> systems (namely windows) hide the extension, making it difficult to change.
>> This means that if you create a text file called "test", it's actual
>> filename is "test.txt", where windows hides the .txt part. If you attempt
>> to just rename the file, and change its extension that way, you'll wind up
>> with "test.html.txt" (because windows hid the .txt extensions, causing your
>> extension to be inserted between the filename and the *actual* extension).
>> You can double check the actual extension when you're viewing the file in
>> Chrome, just by looking at the last couple of characters and ensuring that
>> they are in fact ".html", and not ".txt" or ".rtf".
>>
>> On Thu, Feb 11, 2016 at 12:03 AM Susannah Jones <marysjone...@gmail.com>
>> wrote:
>>
>>> Hi! I'm trying to work with the beginner's tutorial with pie charts. I
>>> followed the directions, copied the source code, saved it to an html file,
>>> and then opened the said file into chrome but all I see is the source code
>>> instead of the actual pie chart. Am I missing something?
>>>
>>> --
>>> 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 google-visualization-api+unsubscr...@googlegroups.com.
>>> To post to this group, send email to
>>> google-visualization-api@googlegroups.com.
>>> Visit this group at
>>> https://groups.google.com/group/google-visualization-api.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/google-visualization-api/a5e15cd4-93ff-48b6-9d15-5e790a4b493f%40googlegroups.com
>>> <https://groups.google.com/d/msgid/google-visualization-api/a5e15cd4-93ff-48b6-9d15-5e790a4b493f%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>>
>> *[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
>> gra...@google.com <gra...@google.com>*
>>
>> --
>> 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/GC_xZdQNO2Q/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to
>> google-visualization-api+unsubscr...@googlegroups.com.
>
>
>> To post to this group, send email to
>> google-visualization-api@googlegroups.com.
>> Visit this group at
>> https://groups.google.com/group/google-visualization-api.
>>
> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/google-visualization-api/CAEwwup4D97KMCMWE2hNc2Xucp_-zYhYXpX6_k3yNDpwhXQU2jw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/google-visualization-api/CAEwwup4D97KMCMWE2hNc2Xucp_-zYhYXpX6_k3yNDpwhXQU2jw%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>
>
>> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/CAKzc2RVsXYNup2LiTboK1o8jT2pb705tgf%2BgWcD94bg76KUCFQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/google-visualization-api/CAKzc2RVsXYNup2LiTboK1o8jT2pb705tgf%2BgWcD94bg76KUCFQ%40mail.gmail.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.

Re: [visualization-api] Material Line Chart dataset question

2016-02-08 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Allen,

This should be possible with the regular Material Line Chart (or even with
the Classic Line Chart). You will just need to leave nulls where the series
doesn't have data.

On Mon, Feb 8, 2016 at 9:23 AM Allen Moore <allen.d.mo...@gmail.com> wrote:

> I need to display a pretty basic Material Line Chart EXCEPT not all of my
> data begins on the same date...
>
> That is given a 14 day range along the x axis one or more plots would need
> to begin mid-way through the range?
>
> Is this possible with this (or perhaps a different) tool in the library?
>
> TIA,
>
> -Allen M.
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/2bd9fe64-4a12-4d9c-a687-58320cf5038a%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/2bd9fe64-4a12-4d9c-a687-58320cf5038a%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup4cjtxOqFkivGsuuH%3DLk9awiuZafQpCW8x7Neyo-pjBwg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Add Days row to timeline and show full time every 30 minutes

2016-02-08 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Daniel,

There is currently no way to put the time axis on the top of the chart.
However, you can change the axis formatting via the hAxis.format option.
Here is an example: https://jsfiddle.net/qbx21yje/

On Mon, Feb 8, 2016 at 6:44 AM Daniel Borchers <dborcher...@gmail.com>
wrote:

> Hi,
>
> i found the gogole charts timeline example and that is maybe exactly what
> i need. But i have some questions to configure it right.
>
> I found this example:
>
> https://google-developers.appspot.com/chart/interactive/docs/gallery/timeline#controlling-the-colors
>
> I see the Time-Data on the bottom of the timeline.
>
> My first Question is: is it possible o put the time-Data to the top?
>
> And my secound question is: How can i add a secound line with the days
> above the time-data line? (for events during more than one day)
>
> And the third question: Can i show the "30 minute" time-points in full
> lenghts? e.g. 15:30 not :30?
>
> Thanks for your help!
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/39f6af13-d2f5-4ba2-8db7-5b873e80eea0%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/39f6af13-d2f5-4ba2-8db7-5b873e80eea0%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup7FQ_CwAoWLpn0-1nersgssyao%3D7E-ewyXwg9OJ5c3nFg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] horizontal scrolling in Material Line chart...

2016-02-08 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Allen,

Sadly, this is not simple to resolve. This issue stems from the fact that
Material Charts were built from scratch, rather than on top of the existing
charts, and are therefore missing numerous features. We have a tracking bug
for this, which you can find here:
https://github.com/google/google-visualization-issues/issues/2143

On Mon, Feb 8, 2016 at 11:59 AM Allen Moore <allen.d.mo...@gmail.com> wrote:

> I sometimes have datasets which exceed the max number of horizontal points
> I want to display at once...
>
> For example, lets say I have 30 datapoints and wish to default to
> displaying the most recent 14 while allowing me to scroll the cart to
> reveal earlier dates to the left...
>
> I set the option explorer: { axis: 'horizontal' } in conjunction
> with viewWindow; but, clearly, I'm doing something wrong...
>
> I expect this is simple to resolve; but, have yet to resolve what I am
> doing incorrectly.
>
> TIA for any help...
>
> -A
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/d487978c-dda8-4bc9-8333-02d8e5d706b0%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/d487978c-dda8-4bc9-8333-02d8e5d706b0%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup7LWtnAmjec9sghb9hGzXUY-%2BGAnddCdBfQnqKFGzDn5Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Retieving Data from Google Spreadsheets

2016-02-08 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Jon,

If you're using charts within a Dashboard, you need to use ChartWrappers
instead of actual charts. You may find the documentation for Dashboard here
<https://developers.google.com/chart/interactive/docs/gallery/controls?hl=en>
.

If you have another issue, please create a jsfiddle with your dashboard to
help us help you better.

On Mon, Feb 8, 2016 at 11:59 AM 'Red Star' via Google Visualization API <
google-visualization-api@googlegroups.com> wrote:

> Hi
>
> I have now added a few different charts based on the same data and am now
> trying to add a Category Filter.
>
> It is not showing at all?
>
> Any help appreciated.
>
> Jon
>
> 
> https://www.gstatic.com/charts/loader.js&quot</a>;>
> 
>
> google.charts.load('current', {
>   'packages': ['corechart','controls']
> });
> google.charts.setOnLoadCallback(drawSheetName);
> function drawSheetName() {
>   var opts = {
> sendMethod: 'auto'
>   };
>   var query = new google.visualization.Query("
> <a  rel="nofollow" href="https://docs.google.com/spreadsheets/d/1dyKk4gfExyR-jDQyESyPb1iUnKmZm2EwJKEHG0AEBSU/edit">https://docs.google.com/spreadsheets/d/1dyKk4gfExyR-jDQyESyPb1iUnKmZm2EwJKEHG0AEBSU/edit</a>
> ");
>   query.send(handleQueryResponse);
> }
> function handleQueryResponse(response) {
>   if (response.isError()) {
> alert('Error in query: ' + response.getMessage() + ' ' +
> response.getDetailedMessage());
> return;
>   }
>   var data = response.getDataTable();
>   var options = {
> title: 'Fruits!'
>   };
>
>   var dashboard = new google.visualization.Dashboard(
> document.getElementById('dashboard_div'));
>   var control = new google.visualization.ControlWrapper({
>   'controlType': 'CategoryFilter',
>   'containerId': 'filter_div' ,
>options: {
> filterColumnIndex: 0,
> ui: { }
> }
> });
>   var chart = new
> google.visualization.PieChart(document.getElementById('chart_div'));
>   chart.draw(data, options);
>   var chart = new
> google.visualization.PieChart(document.getElementById('chart_div3'));
>   chart.draw(data, {colors: ['#e0440e', '#e6693e', '#ec8f6e', '#f3b49f',
> '#f6c7b6'],is3D: true});
>   var chart = new
> google.visualization.BarChart(document.getElementById('chart_div2'));
>   chart.draw(data, options);
>
> dashboard.bind([control], [chart]);
> dashboard.draw(data);
>
> }
> 
>   
>   
> 
> 
> 
> 
> 
> 
>   
> 
>
>
> On Mon, Feb 8, 2016 at 4:14 PM, Red Star <redstarfr...@googlemail.com>
> wrote:
>
>> Hi Sergey
>>
>> Thanks for that. I have got it working - double quotes were the trick!
>>
>> I now need to start using the query options but at least I have something
>> working!
>>
>> Regards
>>
>> Jon
>>
>> On Mon, Feb 8, 2016 at 2:51 PM, 'Sergey Grabkovsky' via Google
>> Visualization API <google-visualization-api@googlegroups.com> wrote:
>>
>>> Hi Redstar,
>>>
>>> There are three primary issues with your code:
>>>
>>>1. You must quote the URL. In JavaScript, URLs are strings. They are
>>>not special. They *must* be quoted.
>>>2. You're not passing the query options to the query (but it doesn't
>>>really matter because you're using the defaults anyway).
>>>3. You're not using the correct Sheets URL. You can find
>>>instructions for querying a Google Sheet here
>>><https://developers.google.com/chart/interactive/docs/spreadsheets>.
>>>
>>> Here is a jsfiddle where all the errors are fixed:
>>> https://jsfiddle.net/cjs8npq9/
>>> The fiddle is also using the new loader (which is recommended).
>>>
>>> On Mon, Feb 8, 2016 at 7:13 AM <redstarfr...@googlemail.com> wrote:
>>>
>>>> Hi
>>>>
>>>> I am new to google charts and am trying a simple visualisation of some
>>>> data I have on a google spreadsheet:
>>>>
>>>>
>>>> https://docs.google.com/spreadsheets/d/1dyKk4gfExyR-jDQyESyPb1iUnKmZm2EwJKEHG0AEBSU/edit#gid=0
>>>>
>>>> I have pieced together this code but it doesn't seem to work. I am sure
>>>> there is just a simple error here. Can anyone help. Thanks.
>>>>
>>>> 
>>>> 
>>>> 
>>>> https://www.google.com/jsapi&quot</a>;>
>>>> 
>>>>   // Load the Visualization API and t

Re: [visualization-api] Chart Legend Issue

2016-02-04 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Madan,

At first glance, it seems like you found a bug. However, this looks very
familiar to a bug that we've already seen: drawing a chart in a hidden div.
When a chart is rendered in a div that isn't visible, text measurement
won't work correctly, which will affect how the chart is laid out. I'd try
rendering your chart in a simple web page in a visible div to ensure that
that's not what's happening here. If you still see the bug in a standalone
web page (without using angular), please attach that web page to your next
post.

On Thu, Feb 4, 2016 at 2:22 AM Madan Sharma <madan...@gmail.com> wrote:

> Dear sir,
> I want Help regarding Chart Legend Issues, when position at bottom and
> Top. I am working using google chart using angularjs
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/ca352d62-b7f5-40c7-bef1-f250dde206a5%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/ca352d62-b7f5-40c7-bef1-f250dde206a5%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup5S8aW421xf80%2BbntMfG4G9KY8m5A%3Db7XreweVYZsSBOw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Cannot Change Background of the Google Chart

2016-02-04 Thread 'Sergey Grabkovsky' via Google Visualization API
Ok, I'd say that if you copy/pasted that code into your email, then that
space appeared for a reason.

The option "chartArea.backgroundColor" doesn't work for Pie Chart, but
top-level backgroundColor does.

jsfiddle <http://jsfiddle.net/cgmxzpuf/> and screenshot:
[image: Screen Shot 2016-02-04 at 13.01.29.png]

If you're still experiencing this issue, please modify the jsfiddle to
reproduce it, since the code you're pasting works for me.

On Thu, Feb 4, 2016 at 12:20 PM Baris Sarac <barishsa...@gmail.com> wrote:

> [image: Auto Generated Inline Image 1]\
>
> See there is no extra space. It showed like that in the code I pasted for
> some reason..
>
> On Thursday, February 4, 2016 at 10:31:01 AM UTC-6, Sergey wrote:
>>
>> Hi Baris,
>>
>> Your property has a space before it, as in you're writing
>> '_backgroundColor' (with a space instead of an underscore), where you
>> should be writing 'backgroundColor'. Here is an example of your options
>> working perfectly: http://jsfiddle.net/nLf64qga/
>>
>> On Thu, Feb 4, 2016 at 11:27 AM Baris Sarac <baris...@gmail.com> wrote:
>>
> Here is how it looks:
>>> <https://lh3.googleusercontent.com/-ngtD7PPtO_Y/VrN7UAWLUqI/aqk/dgFlO5S4-zE/s1600/Untitled-1.jpg>
>>>
>>>
>>> <https://lh3.googleusercontent.com/-ngtD7PPtO_Y/VrN7UAWLUqI/aqk/dgFlO5S4-zE/s1600/Untitled-1.jpg>
>>>
>>> Here is the code:
>>>
>>> var options = {'title': 'abc',
>>>'width': 300,
>>>'height': 250,
>>>'is3D':true,
>>>'fontSize':18,
>>>' backgroundColor': '#FCF3E5',
>>>'chartArea': {'width': '80%', 'height': '80%','
>>> backgroundColor': '#FCF3E5'},
>>>'legend': {'position': 'none'},
>>> };
>>>
>>> I tried only  bacgroundColor it didn't work, then I tried
>>> backgroundColor inside  chartArea that didn't work either. I even tried
>>> both, in the aboe example, that didn't work too. I cannot change their
>>> background color.
>>>
>>>
>>>
>>> --
>>> 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 google-visualization-api+unsubscr...@googlegroups.com.
>>>
>> To post to this group, send email to google-visua...@googlegroups.com.
>>
>>
>>> Visit this group at
>>> https://groups.google.com/group/google-visualization-api.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/google-visualization-api/5cadf2fe-565b-4cb5-8609-83ec00543c8a%40googlegroups.com
>>> <https://groups.google.com/d/msgid/google-visualization-api/5cadf2fe-565b-4cb5-8609-83ec00543c8a%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>>
>> *[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
>> gra...@google.com*
>>
>> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/fb191dc6-ceb9-4f71-b490-bfef8339b498%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/fb191dc6-ceb9-4f71-b490-bfef8339b498%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup6hca5R2HbhW8UkcUfA0cL-SvUsFtjeKvt7Pk-AcugXng%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Cannot Change Background of the Google Chart

2016-02-04 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Baris,

Your property has a space before it, as in you're writing
'_backgroundColor' (with a space instead of an underscore), where you
should be writing 'backgroundColor'. Here is an example of your options
working perfectly: http://jsfiddle.net/nLf64qga/

On Thu, Feb 4, 2016 at 11:27 AM Baris Sarac <barishsa...@gmail.com> wrote:

> Here is how it looks:
> <https://lh3.googleusercontent.com/-ngtD7PPtO_Y/VrN7UAWLUqI/aqk/dgFlO5S4-zE/s1600/Untitled-1.jpg>
>
>
> <https://lh3.googleusercontent.com/-ngtD7PPtO_Y/VrN7UAWLUqI/aqk/dgFlO5S4-zE/s1600/Untitled-1.jpg>
>
> Here is the code:
>
> var options = {'title': 'abc',
>'width': 300,
>'height': 250,
>'is3D':true,
>'fontSize':18,
>' backgroundColor': '#FCF3E5',
>'chartArea': {'width': '80%', 'height': '80%','
> backgroundColor': '#FCF3E5'},
>'legend': {'position': 'none'},
> };
>
> I tried only  bacgroundColor it didn't work, then I tried backgroundColor
> inside  chartArea that didn't work either. I even tried both, in the aboe
> example, that didn't work too. I cannot change their background color.
>
>
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/5cadf2fe-565b-4cb5-8609-83ec00543c8a%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/5cadf2fe-565b-4cb5-8609-83ec00543c8a%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup4iF1KhKkoj0zeN%3DB-GXy49QxUB-SdWwKOXi7kH%2B%3DwMHA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Google Line Chart - Starting Area - Going forward and backwards

2016-02-02 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Arakus,

You could do something like setting the viewWindow of your axis to only
display the first 5 points. That would probably be the most straightforward
way to get what you want, unless I'm misunderstanding the problem.

On Tue, Feb 2, 2016 at 6:36 AM Arakus Hertl <arakus...@gmail.com> wrote:

> Hello Community,
>
> i got some Questions on google line chart.
>
> I hope you can help me! =)
>
> So here are my questions:
>
> I would like to have an area in my Line Chart which is shown when someone
> opens the site with my chart.
> The data comes from an google spreadsheet.
> And then it should be possible to go forward and backward (maybe with
> explorer-function) through all data-points of my spreadsheet.
>
> Is that possible? I can‘t find any functions which tell the chart to show
> at the beginning only the first 5 data points of 50 loaded out of my
> spreadsheet, which can be seen by the explorer function, too.
>
>
> Thank you for your help!
>
>
> Kind regards
> Arakus
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/edb1db11-a7f2-4788-b7ce-764cf49b8a9e%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/edb1db11-a7f2-4788-b7ce-764cf49b8a9e%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup7X%2BzuhV0myxpiebek4qLen-kFhPPOC9xX-MbJMMjBqxA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


  1   2   3   4   5   6   7   8   9   10   >