still getting a 404 error when I try to load this (no pun intended)

44 views
Skip to first unread message

rich

unread,
Jan 26, 2018, 4:34:45 PM1/26/18
to Google Visualization API
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>

is there some thing wrong with this line? I cleared the cache but to no avail. 

Daniel LaLiberte

unread,
Jan 26, 2018, 4:40:31 PM1/26/18
to Google Visualization API
Your script tag looks fine.  Can you point us to a web page that fails for you?   


On Fri, Jan 26, 2018 at 4:34 PM, rich <rich...@gmail.com> wrote:
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>

is there some thing wrong with this line? I cleared the cache but to no avail. 

--
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/ad38aac4-422e-4d75-b243-ef541182c935%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

rich

unread,
Jan 27, 2018, 12:54:38 AM1/27/18
to Google Visualization API
I am actually trying to do an org chart. I am running chrome debugger and I get an error on that line. When I hover over the red x it says 404 error. Btw I am running locally on wamp. I could probably load it locally if I could find it. Where can I get it?

rich

unread,
Jan 27, 2018, 1:30:17 AM1/27/18
to Google Visualization API
Well I loaded up the org chart demo and it seems to work fine although the debugger still shows that line as error 404. I can probably ignore that issue. I am having trouble creating the datatable in my php app and sending it over with ajax. Since I don't know what 's wrong I was just looking for any errors, but I think I am ok with the 404. Is there a pretty complete example of creating a datatable  in php and sending it over ajax to the  javascript based chart? I am pretty decent at learning from a working example. 

thx

Daniel LaLiberte

unread,
Jan 27, 2018, 11:00:07 AM1/27/18
to Google Visualization API
There are different ways to use php to generate the data.  You can find examples with a search:   https://www.google.com/search?q=google+charts+php&oq=google+charts+php
Here is one example that we provide for serving the data via a separate json request:   https://developers.google.com/chart/interactive/docs/php_example

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

For more options, visit https://groups.google.com/d/optout.
Message has been deleted

rich

unread,
Jan 29, 2018, 9:35:03 AM1/29/18
to Google Visualization API
Dave, I tried posting an example of my data but somehow the message was deleted. Probably cause I posted some sample data? Anyway. I have gotten the json data over to my html page and the only problem is getting it in the right format (datatable). Is there some easy way to do this or do I use the "brute force" method of building a loop and creating row by row? 


On Saturday, January 27, 2018 at 11:00:07 AM UTC-5, Daniel LaLiberte wrote:
There are different ways to use php to generate the data.  You can find examples with a search:   https://www.google.com/search?q=google+charts+php&oq=google+charts+php
Here is one example that we provide for serving the data via a separate json request:   https://developers.google.com/chart/interactive/docs/php_example
On Sat, Jan 27, 2018 at 1:30 AM, rich <rich...@gmail.com> wrote:
Well I loaded up the org chart demo and it seems to work fine although the debugger still shows that line as error 404. I can probably ignore that issue. I am having trouble creating the datatable in my php app and sending it over with ajax. Since I don't know what 's wrong I was just looking for any errors, but I think I am ok with the 404. Is there a pretty complete example of creating a datatable  in php and sending it over ajax to the  javascript based chart? I am pretty decent at learning from a working example. 

thx

On Saturday, January 27, 2018 at 12:54:38 AM UTC-5, rich wrote:
I am actually trying to do an org chart. I am running chrome debugger and I get an error on that line. When I hover over the red x it says 404 error. Btw I am running locally on wamp. I could probably load it locally if I could find it. Where can I get it?

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



--
Reply all
Reply to author
Forward
0 new messages