Re: [visualization-api] Re: newbie looking for example

2014-06-19 Thread Andrew Gallant
I suggest making a PHP page that pulls your data from the database and 
serves up a json string representation of a DataTable, as shown in the 
other thread.  When you have a PHP page that can serve up the data, I'll 
help you work through the javascript to hook the data up to a chart.

On Wednesday, June 18, 2014 11:02:29 PM UTC-4, Roni Segoly wrote:

 I need for different data
 On 19 Jun 2014 01:00, Andrew Gallant asgall...@gmail.com javascript: 
 wrote:

 Does your BarChart use the same data as the Gauges, or is it different 
 data?

 On Wednesday, June 18, 2014 5:09:54 PM UTC-4, Roni Segoly wrote:

 I am newbie so need to go slowly
 My page does what it needs to to do and here is the source 
 https://www.dropbox.com/s/x7gw7sqhuyxpqxq/g.php
 Someone helped me before and with these 4 gauges it works fine
 I need to add to my page another chart (bar) which is also updated same 
 method
 So one PHP with two charts (4 gauges and bar), updated from external 
 source every X seconds

 I can deal with PHP but have no knowledge of JS and Ajax

 Thanks



  


 *Roni Segoly *

 *+972-54-6466264*


 * 
 http://s.wisestamp.com/links?url=tel%3A%252B972-54-6466264sn=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 Thu, Jun 19, 2014 at 12:00 AM, Andrew Gallant asgall...@gmail.com 
 wrote:

 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-6466264sn=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 asgall...@gmail.com 
 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/to
 pic/google-visualization-api/3K3umS58c-0/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to 
 google-visualization-api+unsubscr...@googlegroups.com.
 To post to this group, send email to google-visua...@googlegroups.com
 .

 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 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 
 google-visualization-api+unsubscr...@googlegroups.com.
 To post to this group, send email to google-visua...@googlegroups.com.
 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 a topic in the 
 Google Groups Google Visualization API group.
 To unsubscribe from this topic, visit 
 

Re: [visualization-api] Re: newbie looking for example

2014-06-19 Thread Roni Segoly
Thanks
you mean like in the example here?
https://developers.google.com/chart/interactive/docs/php_example
That's the easy part as even in my page the data comes from a server as  a
string
Although I used simple format values separated by comma
885,514,1061,0
function get_data()
{
$homepage = file_get_contents('
http://212.150.200.169:84/read_g_gauges.php/');
return $homepage;

}
I know for gauges I need a number for every gauge
What do I need for bar? Assuming I have 3, just three numbers?






*Roni Segoly *

*+972-54-6466264*


*
http://s.wisestamp.com/links?url=tel%3A%252B972-54-6466264sn=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 Thu, Jun 19, 2014 at 5:37 PM, Andrew Gallant asgallant...@gmail.com
wrote:

 I suggest making a PHP page that pulls your data from the database and
 serves up a json string representation of a DataTable, as shown in the
 other thread.  When you have a PHP page that can serve up the data, I'll
 help you work through the javascript to hook the data up to a chart.


 On Wednesday, June 18, 2014 11:02:29 PM UTC-4, Roni Segoly wrote:

 I need for different data
 On 19 Jun 2014 01:00, Andrew Gallant asgall...@gmail.com wrote:

 Does your BarChart use the same data as the Gauges, or is it different
 data?

 On Wednesday, June 18, 2014 5:09:54 PM UTC-4, Roni Segoly wrote:

 I am newbie so need to go slowly
 My page does what it needs to to do and here is the source
 https://www.dropbox.com/s/x7gw7sqhuyxpqxq/g.php
 Someone helped me before and with these 4 gauges it works fine
 I need to add to my page another chart (bar) which is also updated same
 method
 So one PHP with two charts (4 gauges and bar), updated from external
 source every X seconds

 I can deal with PHP but have no knowledge of JS and Ajax

 Thanks






 *Roni Segoly *

 *+972-54-6466264*


 *
 http://s.wisestamp.com/links?url=tel%3A%252B972-54-6466264sn=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 Thu, Jun 19, 2014 at 12:00 AM, Andrew Gallant asgall...@gmail.com
 wrote:

 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-6466264sn=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 asgall...@gmail.com
 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/to
 pic/google-visualization-api/3K3umS58c-0/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 google-visualization-api+unsubscr...@googlegroups.com.
 To post to this group, send email to google-visua...@googlegroups.c
 om.

 Visit this group at 

Re: [visualization-api] Re: newbie looking for example

2014-06-19 Thread Andrew Gallant
The BarChart needs a DataTable with at least two columns of data: 1 for the 
y-values and 1 for each data series.  You can take a similar approach to 
your existing Gauges and just update a DataTable with the new values, in 
which case I suspect that your system of using a comma-separated list would 
be fine.

On Thursday, June 19, 2014 10:50:04 AM UTC-4, Roni Segoly wrote:

 Thanks
 you mean like in the example here?
 https://developers.google.com/chart/interactive/docs/php_example
 That's the easy part as even in my page the data comes from a server as  a 
 string
 Although I used simple format values separated by comma 
 885,514,1061,0 
 function get_data() 
 { 
 $homepage = file_get_contents('
 http://212.150.200.169:84/read_g_gauges.php/'); 
 return $homepage; 
   
 } 
 I know for gauges I need a number for every gauge
 What do I need for bar? Assuming I have 3, just three numbers?



  


 *Roni Segoly *

 *+972-54-6466264*


 * 
 http://s.wisestamp.com/links?url=tel%3A%252B972-54-6466264sn=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 Thu, Jun 19, 2014 at 5:37 PM, Andrew Gallant asgall...@gmail.com 
 javascript: wrote:

 I suggest making a PHP page that pulls your data from the database and 
 serves up a json string representation of a DataTable, as shown in the 
 other thread.  When you have a PHP page that can serve up the data, I'll 
 help you work through the javascript to hook the data up to a chart.


 On Wednesday, June 18, 2014 11:02:29 PM UTC-4, Roni Segoly wrote:

 I need for different data
 On 19 Jun 2014 01:00, Andrew Gallant asgall...@gmail.com wrote:

 Does your BarChart use the same data as the Gauges, or is it different 
 data?

 On Wednesday, June 18, 2014 5:09:54 PM UTC-4, Roni Segoly wrote:

 I am newbie so need to go slowly
 My page does what it needs to to do and here is the source 
 https://www.dropbox.com/s/x7gw7sqhuyxpqxq/g.php
 Someone helped me before and with these 4 gauges it works fine
 I need to add to my page another chart (bar) which is also updated 
 same method
 So one PHP with two charts (4 gauges and bar), updated from external 
 source every X seconds

 I can deal with PHP but have no knowledge of JS and Ajax

 Thanks



  


 *Roni Segoly *

 *+972-54-6466264*


 * 
 http://s.wisestamp.com/links?url=tel%3A%252B972-54-6466264sn=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 Thu, Jun 19, 2014 at 12:00 AM, Andrew Gallant asgall...@gmail.com 
 wrote:

 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-6466264sn=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 asgall...@gmail.com
  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 

[visualization-api] Re: newbie looking for example

2014-06-18 Thread Andrew Gallant
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 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 post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Re: newbie looking for example

2014-06-18 Thread Andrew Gallant
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-6466264sn=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 asgall...@gmail.com 
 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 
 google-visualization-api+unsubscr...@googlegroups.com javascript:.
 To post to this group, send email to google-visua...@googlegroups.com 
 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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Re: newbie looking for example

2014-06-18 Thread Roni Segoly
I am newbie so need to go slowly
My page does what it needs to to do and here is the source
https://www.dropbox.com/s/x7gw7sqhuyxpqxq/g.php
Someone helped me before and with these 4 gauges it works fine
I need to add to my page another chart (bar) which is also updated same
method
So one PHP with two charts (4 gauges and bar), updated from external source
every X seconds

I can deal with PHP but have no knowledge of JS and Ajax

Thanks






*Roni Segoly *

*+972-54-6466264*


*
http://s.wisestamp.com/links?url=tel%3A%252B972-54-6466264sn=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 Thu, Jun 19, 2014 at 12:00 AM, Andrew Gallant asgallant...@gmail.com
wrote:

 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 %2B972-54-6466264*


 *
 http://s.wisestamp.com/links?url=tel%3A%252B972-54-6466264sn=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 asgall...@gmail.com
 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
 google-visualization-api+unsubscr...@googlegroups.com.
 To post to this group, send email to google-visua...@googlegroups.com.

 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 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
 google-visualization-api+unsubscr...@googlegroups.com.
 To post to this group, send email to
 google-visualization-api@googlegroups.com.
 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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Re: newbie looking for example

2014-06-18 Thread Andrew Gallant
Does your BarChart use the same data as the Gauges, or is it different data?

On Wednesday, June 18, 2014 5:09:54 PM UTC-4, Roni Segoly wrote:

 I am newbie so need to go slowly
 My page does what it needs to to do and here is the source 
 https://www.dropbox.com/s/x7gw7sqhuyxpqxq/g.php
 Someone helped me before and with these 4 gauges it works fine
 I need to add to my page another chart (bar) which is also updated same 
 method
 So one PHP with two charts (4 gauges and bar), updated from external 
 source every X seconds

 I can deal with PHP but have no knowledge of JS and Ajax

 Thanks



  


 *Roni Segoly *

 *+972-54-6466264*


 * 
 http://s.wisestamp.com/links?url=tel%3A%252B972-54-6466264sn=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 Thu, Jun 19, 2014 at 12:00 AM, Andrew Gallant asgall...@gmail.com 
 javascript: wrote:

 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-6466264sn=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 asgall...@gmail.com 
 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 
 google-visualization-api+unsubscr...@googlegroups.com.
 To post to this group, send email to google-visua...@googlegroups.com.

 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 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 
 google-visualization-api+unsubscr...@googlegroups.com javascript:.
 To post to this group, send email to google-visua...@googlegroups.com 
 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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Re: newbie looking for example

2014-06-18 Thread Roni Segoly
I need for different data
On 19 Jun 2014 01:00, Andrew Gallant asgallant...@gmail.com wrote:

 Does your BarChart use the same data as the Gauges, or is it different
 data?

 On Wednesday, June 18, 2014 5:09:54 PM UTC-4, Roni Segoly wrote:

 I am newbie so need to go slowly
 My page does what it needs to to do and here is the source
 https://www.dropbox.com/s/x7gw7sqhuyxpqxq/g.php
 Someone helped me before and with these 4 gauges it works fine
 I need to add to my page another chart (bar) which is also updated same
 method
 So one PHP with two charts (4 gauges and bar), updated from external
 source every X seconds

 I can deal with PHP but have no knowledge of JS and Ajax

 Thanks






 *Roni Segoly *

 *+972-54-6466264 %2B972-54-6466264*


 *
 http://s.wisestamp.com/links?url=tel%3A%252B972-54-6466264sn=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 Thu, Jun 19, 2014 at 12:00 AM, Andrew Gallant asgall...@gmail.com
 wrote:

 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-6466264sn=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 asgall...@gmail.com
 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/to
 pic/google-visualization-api/3K3umS58c-0/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 google-visualization-api+unsubscr...@googlegroups.com.
 To post to this group, send email to google-visua...@googlegroups.com.

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