Google charts 44 version not working with bars format for tables

49 views
Skip to first unread message

Jorge Lanzarotti

unread,
Jun 7, 2017, 5:10:33 AM6/7/17
to Google Visualization API

Using version 44 

google.charts.load("44", {
    packages
: ["corechart", "table","motionchart","timeline","bar","line"]
 
})


bar_s.png gets an Object instead of the URL like: https://www.gstatic.com/charts/45/css/util/bar_s.png

<img style="padding: 0" src="[object Object]/util/bar_s.png" height="12" width="1">


This started to happen since yesterday. Any help would be nice. 

Thanks! 

Daniel LaLiberte

unread,
Jun 7, 2017, 5:16:38 PM6/7/17
to Google Visualization API
Hi Jorge,

Thanks for your report.  I see the problem, and may be able to fix this very soon.     I hope you can use v45 (or current) in the meantime.

The problem stems from assumptions in the older versions (41-44) about where the images and css files were loaded from, which was wrong in the general case.  The new loader tries to work around such incompatibilities, but obviously I missed a few cases.

--
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+unsub...@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/941c9504-a158-4f37-a8e0-72073547fd35%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Daniel LaLiberte

unread,
Jun 7, 2017, 7:05:27 PM6/7/17
to Google Visualization API
This problem with bar formats, and possibly several related problems (with css and images), should be fixed now.  Let me know if you find more.

On Wed, Jun 7, 2017 at 5:16 PM, Daniel LaLiberte <dlali...@google.com> wrote:
Hi Jorge,

Thanks for your report.  I see the problem, and may be able to fix this very soon.     I hope you can use v45 (or current) in the meantime.

The problem stems from assumptions in the older versions (41-44) about where the images and css files were loaded from, which was wrong in the general case.  The new loader tries to work around such incompatibilities, but obviously I missed a few cases.
On Wed, Jun 7, 2017 at 5:10 AM, Jorge Lanzarotti <jorge.la...@gmail.com> wrote:

Using version 44 

google.charts.load("44", {
    packages
: ["corechart", "table","motionchart","timeline","bar","line"]
 
})


bar_s.png gets an Object instead of the URL like: https://www.gstatic.com/charts/45/css/util/bar_s.png

<img style="padding: 0" src="[object Object]/util/bar_s.png" height="12" width="1">


This started to happen since yesterday. Any help would be nice. 

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.
--

Jorge Lanzarotti

unread,
Jun 7, 2017, 10:01:16 PM6/7/17
to Google Visualization API
Hi Daniel, I can confirm that is working correctly now. Thanks for the quick fix!

I tried to use 45 and current, but I have some issues with Motion charts, they work OK with 44, but they struggles with 45 and current when the data changes and I trigger some reload/refresh functions, they just don't change... no idea just yet why, when I get more details I'll do another post with the issue.

Thanks again, best! 

On Thursday, June 8, 2017 at 8:05:27 AM UTC+9, Daniel LaLiberte wrote:
This problem with bar formats, and possibly several related problems (with css and images), should be fixed now.  Let me know if you find more.
On Wed, Jun 7, 2017 at 5:16 PM, Daniel LaLiberte <dlali...@google.com> wrote:
Hi Jorge,

Thanks for your report.  I see the problem, and may be able to fix this very soon.     I hope you can use v45 (or current) in the meantime.

The problem stems from assumptions in the older versions (41-44) about where the images and css files were loaded from, which was wrong in the general case.  The new loader tries to work around such incompatibilities, but obviously I missed a few cases.
On Wed, Jun 7, 2017 at 5:10 AM, Jorge Lanzarotti <jorge.la...@gmail.com> wrote:

Using version 44 

google.charts.load("44", {
    packages
: ["corechart", "table","motionchart","timeline","bar","line"]
 
})


bar_s.png gets an Object instead of the URL like: https://www.gstatic.com/charts/45/css/util/bar_s.png

<img style="padding: 0" src="[object Object]/util/bar_s.png" height="12" width="1">


This started to happen since yesterday. Any help would be nice. 

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+unsub...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.



--



--

Daniel LaLiberte

unread,
Jun 7, 2017, 10:23:15 PM6/7/17
to Google Visualization API
Good to hear.  Regarding the motion chart, there is a new flash player that I think was part of v45, so that could be related to what you are seeing.  

The plan is to implement a replacement for the motion chart, however, which uses no flash at all.  This has become a high priority for me, so it should be soon.

On Wed, Jun 7, 2017 at 10:01 PM, Jorge Lanzarotti <jorge.la...@gmail.com> wrote:
Hi Daniel, I can confirm that is working correctly now. Thanks for the quick fix!

I tried to use 45 and current, but I have some issues with Motion charts, they work OK with 44, but they struggles with 45 and current when the data changes and I trigger some reload/refresh functions, they just don't change... no idea just yet why, when I get more details I'll do another post with the issue.

Thanks again, best! 

On Thursday, June 8, 2017 at 8:05:27 AM UTC+9, Daniel LaLiberte wrote:
This problem with bar formats, and possibly several related problems (with css and images), should be fixed now.  Let me know if you find more.
On Wed, Jun 7, 2017 at 5:16 PM, Daniel LaLiberte <dlali...@google.com> wrote:
Hi Jorge,

Thanks for your report.  I see the problem, and may be able to fix this very soon.     I hope you can use v45 (or current) in the meantime.

The problem stems from assumptions in the older versions (41-44) about where the images and css files were loaded from, which was wrong in the general case.  The new loader tries to work around such incompatibilities, but obviously I missed a few cases.
On Wed, Jun 7, 2017 at 5:10 AM, Jorge Lanzarotti <jorge.la...@gmail.com> wrote:

Using version 44 

google.charts.load("44", {
    packages
: ["corechart", "table","motionchart","timeline","bar","line"]
 
})


bar_s.png gets an Object instead of the URL like: https://www.gstatic.com/charts/45/css/util/bar_s.png

<img style="padding: 0" src="[object Object]/util/bar_s.png" height="12" width="1">


This started to happen since yesterday. Any help would be nice. 

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.
--



--

--
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+unsub...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Reply all
Reply to author
Forward
0 new messages