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 <[email protected] <javascript:>> > 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 [email protected] >> <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> 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/f7dabdbf-8af3-4871-8589-26538b09a72b%40googlegroups.com >> >> <https://groups.google.com/d/msgid/google-visualization-api/f7dabdbf-8af3-4871-8589-26538b09a72b%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> > [email protected] <javascript:> 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 [email protected]. To post to this group, send email to [email protected]. 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/0ab9e2ad-5b59-41b6-8d9d-89e011a454a5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
