The PHP examples should show you how to construct the DataTable on the back-end. If you set up a PHP page that echos the json version of the DataTable, you can use AJAX in javascript to call that page to refresh your data.
It looks like you page does something similar already, you're just not using the DataTable structure to transmit your data. Perhaps it would help me to answer your question if you could explain what it is about your code that you want to function differently? On Wednesday, June 18, 2014 4:02:14 PM UTC-4, Roni Segoly wrote: > > I saw many examples as well > This one is working > https://developers.google.com/chart/interactive/docs/php_example > But I need an example which is keep updating without refresh > Like this page I use > http://yozmaportal.net/g.php > > > > > > > > *Roni Segoly * > > *+972-54-6466264* > > > * > <http://s.wisestamp.com/links?url=tel%3A%252B972-54-6466264&sn=cm9uaS5zZWdvbHlAZ21haWwuY29t>*יוזמה > > פרויקטים חברתיים וסביבתיים בע"מ <http://www.yozma.net/> > > Yozma - social & environmental projects <http://www.yozma.net/> > > > > > Google+ Page [image: Google Plus Page] > <https://plus.google.com/u/0/+RoniSegoly/about> > > * <http://en.wikipedia.org/wiki/Mohandas_Karamchand_Gandhi>* > > > On Wed, Jun 18, 2014 at 8:15 PM, Andrew Gallant <[email protected] > <javascript:>> wrote: > >> There are a ton of examples on this forum, if you search for them. This >> thread >> <https://groups.google.com/forum/#!topic/google-visualization-api/-zapZe7dH7Y[1-25-false]> >> >> has a large number to work with. >> >> >> On Wednesday, June 18, 2014 7:50:38 AM UTC-4, Roni Segoly wrote: >>> >>> Hi >>> >>> Can someone please show me an example for using Google chart in PHP web >>> page while updating in a loop? >>> I have an example <https://www.dropbox.com/s/x7gw7sqhuyxpqxq/g.php> >>> someone prepared for me using Ajax and JS, and all I need is addimg a bar >>> chart to same page which will be updated same method. >>> If there is a better way to implement this it's even better >>> Design is irrelevant now. >>> Anyone? >>> >>> Many thanks >>> >>> >>> -- >> 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/3K3umS58c-0/unsubscribe >> . >> To unsubscribe from this group and all its topics, send an email to >> [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at >> http://groups.google.com/group/google-visualization-api. >> 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.
