Re: [visualization-api] Re: Google Charts v47

2020-02-12 Thread AB
It's an internal page. How can I show/share it with you privately?

On Wednesday, February 12, 2020 at 1:37:53 PM UTC-8, Daniel LaLiberte wrote:
>
> Hi AB,
>
> Given that I don't have a way to reproduce this problem with PieChart in 
> v47, I am indeed curious what is happening in the page where you do see 
> it.  Can you share the page here, or privately to me?
>
> On Wed, Feb 12, 2020 at 2:37 PM AB > 
> wrote:
>
>> I am still seeing issues with some charts, pie charts in particular. It 
>> loads perfectly with version 46, but current errors out.
>>
>>
>> On Tuesday, February 11, 2020 at 6:39:45 AM UTC-8, Daniel LaLiberte wrote:
>>>
>>> Yes, in fact there were a few unannounced updates of v47 last night, and 
>>> another update just now.  I've mostly been modifying the loader, in 
>>> particular, to support more redirects that the old jsapi loader still 
>>> supports.   But along the way, I messed up by updating the loader with a 
>>> version that was out of sync with the Google Charts library itself.  So I 
>>> also redeployed all of v47 last evening.  
>>>
>>> As far as I can see, everything should be working now, but there may be 
>>> a few ways of loading and using Google Charts that I am not aware of that 
>>> may still be causing issues.  Please let me know the details of how you are 
>>> loading Google Charts so I can reproduce the problem, including how you 
>>> load the loader, load packages, and set up callbacks.
>>>
>>>
>>> On Tue, Feb 11, 2020 at 9:23 AM Jeff Johnson  wrote:
>>>
 Hiya, I just noticed that the "last modified" header on 
 https://www.gstatic.com/charts/loader.js says "Tue, 11 Feb 2020 
 04:46:35 GMT". Was there an unpublished fix, or other change? This might 
 be 
 causing issues. At least one other poster besides myself appears to be 
 experiencing some kind of exception that is solved by explicitly loading 
 version 46 instead of current.

 Here's a small screencap of the exception: 

 On Monday, January 6, 2020 at 1:53:02 PM UTC-5, Daniel LaLiberte wrote:
>
> The 'current' version of Google Charts is now (within the hour) v47.  
> Please let us know if you discover problems related to this new release.
>
> On Fri, Dec 20, 2019 at 11:24 AM Daniel LaLiberte  
> wrote:
>
>> As of now, the 'upcoming' version of Google Charts is v47.  This 
>> release includes a large number of internal cleanups, and a few new 
>> features:
>>
>>- Add loader setting to enable "safeMode".  
>>   - When set to true, all charts and tooltips that generate HTML 
>>   from user-supplied data will sanitize it by stripping out unsafe 
>> elements 
>>   and attributes.
>>- Add support for the "autoload" and "callback" parameters on the 
>>loader, to be backward compatible with the old jsapi loader.
>>- For corecharts
>>   - Handle "zoomDelta" values below 1.0
>>   - Add "maxTextLines" as a vertical axis option.
>>
>> If all goes well, this 'upcoming' version will become 'current' in 
>> the first week of January.
>>
>> -- 
>> Daniel LaLiberte 
>> 
>> dlali...@google.com   Cambridge MA
>>
>
>
> -- 
> Daniel LaLiberte 
> 
> dlali...@google.com   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 view this discussion on the web visit 
 https://groups.google.com/d/msgid/google-visualization-api/86f7c4ed-c792-485a-9a34-9a9e90356432%40googlegroups.com
  
 
 .

>>>
>>>
>>> -- 
>>> Daniel LaLiberte 
>>> dlali...@google.com   Cambridge MA
>>> go/gviz-headcount 
>>>
>> -- 
>> 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 view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-visualization-api/5908228f-8e05-4730-9435-2607f5d144ea%40googlegroups.com
>>  
>> 
>> .
>>
>
>
> -- 
> Daniel LaLiberte 
> dlali...@google.comCambridge MA
> 

Re: [visualization-api] Re: Google Charts v47

2020-02-12 Thread 'Daniel LaLiberte' via Google Visualization API
Hi AB,

Given that I don't have a way to reproduce this problem with PieChart in
v47, I am indeed curious what is happening in the page where you do see
it.  Can you share the page here, or privately to me?

On Wed, Feb 12, 2020 at 2:37 PM AB  wrote:

> I am still seeing issues with some charts, pie charts in particular. It
> loads perfectly with version 46, but current errors out.
>
>
> On Tuesday, February 11, 2020 at 6:39:45 AM UTC-8, Daniel LaLiberte wrote:
>>
>> Yes, in fact there were a few unannounced updates of v47 last night, and
>> another update just now.  I've mostly been modifying the loader, in
>> particular, to support more redirects that the old jsapi loader still
>> supports.   But along the way, I messed up by updating the loader with a
>> version that was out of sync with the Google Charts library itself.  So I
>> also redeployed all of v47 last evening.
>>
>> As far as I can see, everything should be working now, but there may be a
>> few ways of loading and using Google Charts that I am not aware of that may
>> still be causing issues.  Please let me know the details of how you are
>> loading Google Charts so I can reproduce the problem, including how you
>> load the loader, load packages, and set up callbacks.
>>
>>
>> On Tue, Feb 11, 2020 at 9:23 AM Jeff Johnson  wrote:
>>
>>> Hiya, I just noticed that the "last modified" header on
>>> https://www.gstatic.com/charts/loader.js says "Tue, 11 Feb 2020
>>> 04:46:35 GMT". Was there an unpublished fix, or other change? This might be
>>> causing issues. At least one other poster besides myself appears to be
>>> experiencing some kind of exception that is solved by explicitly loading
>>> version 46 instead of current.
>>>
>>> Here's a small screencap of the exception:
>>>
>>> On Monday, January 6, 2020 at 1:53:02 PM UTC-5, Daniel LaLiberte wrote:

 The 'current' version of Google Charts is now (within the hour) v47.
 Please let us know if you discover problems related to this new release.

 On Fri, Dec 20, 2019 at 11:24 AM Daniel LaLiberte 
 wrote:

> As of now, the 'upcoming' version of Google Charts is v47.  This
> release includes a large number of internal cleanups, and a few new
> features:
>
>- Add loader setting to enable "safeMode".
>   - When set to true, all charts and tooltips that generate HTML
>   from user-supplied data will sanitize it by stripping out unsafe 
> elements
>   and attributes.
>- Add support for the "autoload" and "callback" parameters on the
>loader, to be backward compatible with the old jsapi loader.
>- For corecharts
>   - Handle "zoomDelta" values below 1.0
>   - Add "maxTextLines" as a vertical axis option.
>
> If all goes well, this 'upcoming' version will become 'current' in the
> first week of January.
>
> --
> Daniel LaLiberte
> 
> dlali...@google.com   Cambridge MA
>


 --
 Daniel LaLiberte
 
 dlali...@google.com   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 view this discussion on the web visit
>>> https://groups.google.com/d/msgid/google-visualization-api/86f7c4ed-c792-485a-9a34-9a9e90356432%40googlegroups.com
>>> 
>>> .
>>>
>>
>>
>> --
>> Daniel LaLiberte 
>> dlali...@google.com   Cambridge MA
>> go/gviz-headcount 
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/5908228f-8e05-4730-9435-2607f5d144ea%40googlegroups.com
> 
> .
>


-- 
Daniel LaLiberte 
dlalibe...@google.comCambridge MA
go/gviz-headcount

-- 
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 view this discussion on the web visit 

Re: [visualization-api] Re: Google Charts v47

2020-02-12 Thread AB
I am still seeing issues with some charts, pie charts in particular. It 
loads perfectly with version 46, but current errors out.


On Tuesday, February 11, 2020 at 6:39:45 AM UTC-8, Daniel LaLiberte wrote:
>
> Yes, in fact there were a few unannounced updates of v47 last night, and 
> another update just now.  I've mostly been modifying the loader, in 
> particular, to support more redirects that the old jsapi loader still 
> supports.   But along the way, I messed up by updating the loader with a 
> version that was out of sync with the Google Charts library itself.  So I 
> also redeployed all of v47 last evening.  
>
> As far as I can see, everything should be working now, but there may be a 
> few ways of loading and using Google Charts that I am not aware of that may 
> still be causing issues.  Please let me know the details of how you are 
> loading Google Charts so I can reproduce the problem, including how you 
> load the loader, load packages, and set up callbacks.
>
>
> On Tue, Feb 11, 2020 at 9:23 AM Jeff Johnson  > wrote:
>
>> Hiya, I just noticed that the "last modified" header on 
>> https://www.gstatic.com/charts/loader.js says "Tue, 11 Feb 2020 04:46:35 
>> GMT". Was there an unpublished fix, or other change? This might be causing 
>> issues. At least one other poster besides myself appears to be experiencing 
>> some kind of exception that is solved by explicitly loading version 46 
>> instead of current.
>>
>> Here's a small screencap of the exception: 
>>
>> On Monday, January 6, 2020 at 1:53:02 PM UTC-5, Daniel LaLiberte wrote:
>>>
>>> The 'current' version of Google Charts is now (within the hour) v47.  
>>> Please let us know if you discover problems related to this new release.
>>>
>>> On Fri, Dec 20, 2019 at 11:24 AM Daniel LaLiberte  
>>> wrote:
>>>
 As of now, the 'upcoming' version of Google Charts is v47.  This 
 release includes a large number of internal cleanups, and a few new 
 features:

- Add loader setting to enable "safeMode".  
   - When set to true, all charts and tooltips that generate HTML 
   from user-supplied data will sanitize it by stripping out unsafe 
 elements 
   and attributes.
- Add support for the "autoload" and "callback" parameters on the 
loader, to be backward compatible with the old jsapi loader.
- For corecharts
   - Handle "zoomDelta" values below 1.0
   - Add "maxTextLines" as a vertical axis option.

 If all goes well, this 'upcoming' version will become 'current' in the 
 first week of January.

 -- 
 Daniel LaLiberte 
 
 dlali...@google.com   Cambridge MA

>>>
>>>
>>> -- 
>>> Daniel LaLiberte 
>>> dlali...@google.com   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 view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-visualization-api/86f7c4ed-c792-485a-9a34-9a9e90356432%40googlegroups.com
>>  
>> 
>> .
>>
>
>
> -- 
> Daniel LaLiberte 
> dlali...@google.comCambridge MA
> go/gviz-headcount
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/5908228f-8e05-4730-9435-2607f5d144ea%40googlegroups.com.


[visualization-api] Re: Problems with examples given in googlecharts - Geocharts examples

2020-02-12 Thread Caterina Caracciolo
Solved. It was a matter of enabling the right APIs on google cloud.


Il giorno lunedì 3 febbraio 2020 17:13:52 UTC+1, Caterina Caracciolo ha 
scritto:
>
> Hi! I'm a newbie, I started playing around with GoogleCharts last week, 
> because I would like to use GeoCharts for my project website. I started off 
> copying and pasting the examples given at: 
>
> https://developers.google.com/chart/interactive/docs/gallery/geochart 
>
> but only the first one works, the one for "regions". As for the other 
> examples, they do show the geographic boundaries, but ignore the data. 
>
> Reading around the documentation, I found that the syntax for loading the 
> libraries has changed, but also using the new syntax the data is not shown. 
> I also changed the API key given in the example with my own, just generated 
> for this project. I have searched for similar issues in this group but have 
> not found anything to my case. What have I missed? Can somebody help me 
> understand what's wrong with these examples? 
>
> I paste below the example 
>
> https://developers.google.com/chart/interactive/docs/gallery/geochart#marker-geocharts
>
> https://developers.google.com/chart/interactive/docs/gallery/geochart#marker-geocharts
>
> given at: 
> https://developers.google.com/chart/interactive/docs/gallery/geochart#marker-geocharts
> modified with new syntax, but with the same key API given in the example. 
>
> Many thanks!
> Caterina
>
>
> 
>   
> 
>  https://www.google.com/jsapi";>
> 
>  google.charts.load('current', {
>'packages': ['geochart'],
>// Note: you will need to get a mapsApiKey for your project.
>// See: 
> https://developers.google.com/chart/interactive/docs/basic_load_libs#load-settings
>'mapsApiKey': 'AIzaSyD-9tSrke72PouQMnMX-a7eZSW0jkFMBWY'
>  });
>  google.charts.setOnLoadCallback(drawMarkersMap);
>
>   function drawMarkersMap() {
>   var data = google.visualization.arrayToDataTable([
> ['City',   'Population', 'Area'],
> ['Rome',  2761477,1285.31],
> ['Milan', 1324110,181.76],
> ['Naples',959574, 117.27],
> ['Turin', 907563, 130.17],
> ['Palermo',   655875, 158.9],
> ['Genoa', 607906, 243.60],
> ['Bologna',   380181, 140.7],
> ['Florence',  371282, 102.41],
> ['Fiumicino', 67370,  213.44],
> ['Anzio', 52192,  43.43],
> ['Ciampino',  38262,  11]
>   ]);
>
>   var options = {
> region: 'IT',
> displayMode: 'markers',
> colorAxis: {colors: ['green', 'blue']}
>   };
>
>   var chart = new 
> google.visualization.GeoChart(document.getElementById('chart_div'));
>   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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/a6f5d08f-f9b6-4bf9-a096-e978c6fb0f96%40googlegroups.com.