[visualization-api] Re: Geochart Marker HTML Tooltips

2014-06-18 Thread IK
Sergey,

just checked and thank you very much. it was a very puzzling issue as i was 
trying to get it to work myself for several days.

thanks again,
ik.

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


[visualization-api] Re: Expanding Rows in google table

2014-06-18 Thread Bandaru Chandan Reddy
I am also searching for the same.
Someone please help.

Regards,
Chandan Reddy

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


[visualization-api] want to add custome tool tip to my line chart (tool tip will have some html content like button and some text)

2014-06-18 Thread Ravindra Gharge
I am populating the chart by getting the datatable as the response from 
other page.
so am creating json object at other side and transfer to the requesting 
site and their i parse the object and create the datatable and populating 
the chart.

following my code to request the chart data : 

var jsonData = $.ajax({
type: post,
url: getHourDrillChart.php,
data: $(#my_form).serialize(),
dataType: json,
async: false
}).responseText;
 var obj = jQuery.parseJSON(jsonData);   //alert(+obj.toSource()); 
var dataHour = google.visualization.arrayToDataTable(obj);\

chart.setDataTable(dataHour);
chart.setOptions(options);
chart.draw(); 

other site where i creating the chart data : 

 $data[0] = array('Hour',$user); 
 $getTownLocalityInfo = mysql_query($SQLString); 
 
# set heading 
//$data[0] = array('hour','Count'); 
$i=1;
$dayArray = array();
while( $row = mysql_fetch_assoc($getTownLocalityInfo)){
$date = $row['date'];
$hour = $row['day_hours'];
$count = (int) $row['sumCount'];
$dayArray[] = $hour;

mysql_query(INSERT INTO 
trend_hour_chart_temp(hour,$user,userId) VALUES 
('$hour',$count,'$staffId'));
$data[$i] = array($hour , $count);
$i++;
}
echo json_encode($data);



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


[visualization-api] Export Pie Chart 3D - Word 2013

2014-06-18 Thread jeremjerem23
Hy guys :) 

I'm french, so i can't speak english as well as i want ... :( 

But maybe, i can explain you my problem. After that, i explain in french 
for french's users :) 

I Have a DB, it's Nagios/Centreon (monitoring operator). With this, i 
recover informations. I create after that a 3D pie chart with API Google 
(it's easy with Google :D ) 

See at the end what i obtained. I can have one or more graphs. No limits... 

My wish is now to export graphs on Word 2013, but i don't know how can i 
make that ... Graphs are create with variables, so it's a dynamical page. I 
can copy the source code if you want. Anyone can help me ? :) 




Traduction en français : 


Salut tout le monde. :) 

Comme vous le voyez, j'arrive à créer mes camemberts en 3D avec l'API 
Google. C'est esthétique, c'est donc ce que je recherche. Cependant 
maintenant j'aimerais exporter mes camemberts vers Word 2013... Des idées 
sur la manière de procéder ? 


https://lh6.googleusercontent.com/-34X5fG3WqQc/U6FdIbJP76I/ACE/1BfCn5nU8RM/s1600/graph+3D.PNG

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


[visualization-api] Re: How to format the .CSV data to use Google Annotation chart??

2014-06-18 Thread Milan Shrestha


On Tuesday, June 17, 2014 9:48:20 PM UTC+5:45, Milan Shrestha wrote:

 I am working on WEB based data logger and receiving data in .CSV format.
 My data looks like this:

 Date,Time,Direction,Temperature,Wind Speed,Max. Speed,Dev1,a,b,c
 17-06-14,15:47:28,67.5,30.50,0.70,3.02,0.91,0.20,0.20,0.00
 17-06-14,15:48:28,67.5,30.50,2.98,4.43,0.65,0.20,0.20,0.00
 17-06-14,15:49:28,67.5,30.50,1.56,2.41,0.90,0.20,0.20,0.00
 17-06-14,15:50:28,67.5,30.50,1.04,1.81,0.79,0.20,0.20,0.00
 17-06-14,15:51:28,67.5,30.50,0.22,1.21,0.39,0.20,0.20,0.00
 17-06-14,15:52:28,67.5,30.50,0.99,2.21,0.80,0.20,0.20,0.00


 As shown i received data every seconds so there is lot of data to display 
 in single chart, So i want to use Google Annotation Chart but
 problem is that I am using Column 1,2 and 3 and chart doesn't recognize 
 column as proper time format and i am not getting any chart.

 So is there any way to manipulate the column 1 (EG:15:47:28) to be 
 recognizable to Google annotation chart??

 i am using jquery.csv to manipualte .CSV data

 $.get(fileName, function (csvString) {
  var arrayData = $.csv.toArrays(csvString, { onParseValue: 
 $.csv.hooks.castToScalar });
   var data = new google.visualization.arrayToDataTable(arrayData);
   var options = {
 title: NAST web data logger,
 legend: 'top',
 hAxis: {
 title: 'Time', minValue: 
 data.getColumnRange(1).min, maxValue: data.getColumnRange(1).max, 
 ViewWindoMode: 'explicit',
 viewWindow: {
 min: 10
 },
 gridlines: {
 color: '#f3f3f3',
 count: 10
 },
 },
 vAxis: {
 0: { title: 'Speed', minValue: 
 data.getColumnRange(3).min, maxValue: data.getColumnRange(3).max, logScale: 
 true },
 1: { title: 'Temperature', minValue: 
 data.getColumnRange(4).min, maxValue: data.getColumnRange(4).max, logScale: 
 true }
 }, series: {
 0: { targetAxisIndex: 0 },
 1: { targetAxisIndex: 1 },
 },
 displayAnnotations: true,
 //backgroundColor: { fill: 'transparent' }
 };
   var chart = new 
 google.visualization.AnnotationChart(document.getElementById('chart1'));
 chart.draw(view, options);


 and thanks in advance.



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


[visualization-api] newbie looking for example

2014-06-18 Thread Roni Segoly
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] Export Pie Chart 3D - Word 2013

2014-06-18 Thread 'Jon Orwant' via Google Visualization API
You can import the Google Chart as an image into Word, but you'll lose the
interactivity.

Jon


On Wed, Jun 18, 2014 at 5:38 AM, jeremjerem23 jerem23...@gmail.com wrote:

 Hy guys :)

 I'm french, so i can't speak english as well as i want ... :(

 But maybe, i can explain you my problem. After that, i explain in french
 for french's users :)

 I Have a DB, it's Nagios/Centreon (monitoring operator). With this, i
 recover informations. I create after that a 3D pie chart with API Google
 (it's easy with Google :D )

 See at the end what i obtained. I can have one or more graphs. No
 limits...

 My wish is now to export graphs on Word 2013, but i don't know how can i
 make that ... Graphs are create with variables, so it's a dynamical page. I
 can copy the source code if you want. Anyone can help me ? :)




 Traduction en français :


 Salut tout le monde. :)

 Comme vous le voyez, j'arrive à créer mes camemberts en 3D avec l'API
 Google. C'est esthétique, c'est donc ce que je recherche. Cependant
 maintenant j'aimerais exporter mes camemberts vers Word 2013... Des idées
 sur la manière de procéder ?



 https://lh6.googleusercontent.com/-34X5fG3WqQc/U6FdIbJP76I/ACE/1BfCn5nU8RM/s1600/graph+3D.PNG

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


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


[visualization-api] Uniform scaling of both X- and Y-axis

2014-06-18 Thread Alban Hertroys
We have a case for a chart where both the X-axis and the Y-axis are 
dimensions in mm. The graph describes a measured contour.

It would be helpful to our users if both axis would scale uniformly, 
meaning that any distance measured on one axis should be the same on the 
other axis. Grid lines would be equally spaced on both axis, etc.
For example, if the distance between major grid lines on the Y-axis is 
50mm, then it should also be 50mm on the X-axis. The grid should be a grid 
of squares of 50x50 mm, not rectangles of 50x50 mm (or any other ratio).

Is this possible, and if so, how to achieve this?

Note: I would prefer if the graph in its entirety would still automatically 
scale to the amount of space available.

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


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


[visualization-api] Re: Uniform scaling of both X- and Y-axis

2014-06-18 Thread Andrew Gallant
The only way to make this happen is to manually set your chart options to 
match your data.  The simplest example is with a square grid.  To make the 
grid square, given the height and width for the chart, you would need to 
set the chartArea.height and chartArea.width options to create a square.  
This can be done by either assigning numbers (pixel dimensions) or by 
assigning percent strings (percent of total chart height/width, as 
appropriate).  As an example:

var dimension = parseInt(chartHeight * 0.8); // set dimensions of the 
square to be 80% of the chart's height

in chart options:

chartArea: {
height: dimension,
width: dimension
} 

You would then need to set the hAxis.viewWindow.min/max and 
vAxis.viewWindow.min/max options to make sure that both axes are showing 
the same range of values; they don't have to show the exact same values, 
just the same range (eg, x-axis max - min = y-axis max - min) so the scale 
remains the same, eg:

hAxis: {
viewWindow: {
min: 0,
max: 500
}
},
vAxis: {
viewWindow: {
min: 1000,
max: 1500
}
}

This can be extended to allow for non-square grids as well, you just need 
to keep the axis proportions the same as the chartArea proportions.

On Wednesday, June 18, 2014 10:07:43 AM UTC-4, Alban Hertroys wrote:

 We have a case for a chart where both the X-axis and the Y-axis are 
 dimensions in mm. The graph describes a measured contour.

 It would be helpful to our users if both axis would scale uniformly, 
 meaning that any distance measured on one axis should be the same on the 
 other axis. Grid lines would be equally spaced on both axis, etc.
 For example, if the distance between major grid lines on the Y-axis is 
 50mm, then it should also be 50mm on the X-axis. The grid should be a grid 
 of squares of 50x50 mm, not rectangles of 50x50 mm (or any other ratio).

 Is this possible, and if so, how to achieve this?

 Note: I would prefer if the graph in its entirety would still 
 automatically scale to the amount of space available.


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


[visualization-api] Timeline get selected element

2014-06-18 Thread JProject
Hello, I want to capture the selected element in my timeline, but 
chart.getSelection () [0]. Returns undefined. 

var container = document.getElementById('timeline');
chartTimeLine = new google.visualization.Timeline(container);
dataTimeLine = new google.visualization.DataTable();
 dataTimeLine.addColumn({ type: 'string', id: 'President' });
dataTimeLine.addColumn({ type: 'date', id: 'Start' });
dataTimeLine.addColumn({ type: 'date', id: 'End' });

dataTimeLine.addRows([
[ 'Washington', new Date(1789, 3, 29), new Date(1797, 2, 3) ],
[ 'Jefferson',  new Date(1801, 2, 3),  new Date(1809, 2, 3) ]]);
chartTimeLine.draw(dataTimeLine);
google.visualization.events.addListener(chartTimeLine, 'select', 
timeLineSelected);

   function timeLineSelected(){
  alert(chartTimeLine.getSelection()[0].row);
   }

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


[visualization-api] Re: Timeline get selected element

2014-06-18 Thread Andrew Gallant
If you click an element twice in a row, the second click deselects the 
element, thus the selection array is empty.  Index 0 of an empty array is 
undefined.  You should test the length of the array before attempting to 
access its contents:

function timeLineSelected(){
var selection = chartTimeLine.getSelection();
if (selection.length) {
 alert(selection[0].row);
}
}


On Wednesday, June 18, 2014 2:52:14 PM UTC-4, JProject wrote:

 Hello, I want to capture the selected element in my timeline, but 
 chart.getSelection () [0]. Returns undefined. 

 var container = document.getElementById('timeline');
 chartTimeLine = new google.visualization.Timeline(container);
 dataTimeLine = new google.visualization.DataTable();
  dataTimeLine.addColumn({ type: 'string', id: 'President' });
 dataTimeLine.addColumn({ type: 'date', id: 'Start' });
 dataTimeLine.addColumn({ type: 'date', id: 'End' });

 dataTimeLine.addRows([
 [ 'Washington', new Date(1789, 3, 29), new Date(1797, 2, 3) ],
 [ 'Jefferson',  new Date(1801, 2, 3),  new Date(1809, 2, 3) ]]);
 chartTimeLine.draw(dataTimeLine);
 google.visualization.events.addListener(chartTimeLine, 'select', 
 timeLineSelected);

function timeLineSelected(){
   alert(chartTimeLine.getSelection()[0].row);
}


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


[visualization-api] Re: want to add custome tool tip to my line chart (tool tip will have some html content like button and some text)

2014-06-18 Thread Andrew Gallant
Answered over on StackOverflow: http://stackoverflow.com/a/24295034/613559

On Wednesday, June 18, 2014 4:29:24 AM UTC-4, Ravindra Gharge wrote:

 I am populating the chart by getting the datatable as the response from 
 other page.
 so am creating json object at other side and transfer to the requesting 
 site and their i parse the object and create the datatable and populating 
 the chart.

 following my code to request the chart data : 

 var jsonData = $.ajax({
 type: post,
 url: getHourDrillChart.php,
 data: $(#my_form).serialize(),
 dataType: json,
 async: false
 }).responseText;
  var obj = jQuery.parseJSON(jsonData);   //alert(+obj.toSource()); 
 var dataHour = google.visualization.arrayToDataTable(obj);\

 chart.setDataTable(dataHour);
 chart.setOptions(options);
 chart.draw(); 

 other site where i creating the chart data : 

  $data[0] = array('Hour',$user); 
  $getTownLocalityInfo = mysql_query($SQLString); 
  
 # set heading 
 //$data[0] = array('hour','Count'); 
 $i=1;
 $dayArray = array();
 while( $row = mysql_fetch_assoc($getTownLocalityInfo)){
 $date = $row['date'];
 $hour = $row['day_hours'];
 $count = (int) $row['sumCount'];
 $dayArray[] = $hour;
 
 mysql_query(INSERT INTO 
 trend_hour_chart_temp(hour,$user,userId) VALUES 
 ('$hour',$count,'$staffId'));
 $data[$i] = array($hour , $count);
 $i++;
 }
 echo json_encode($data);





-- 
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] Alternative To Deprecated Google Chart Tools API

2014-06-18 Thread JavaJive
 We'll update this list when we know more.  It'll be a few months

Thanks for the encouraging response, Jon, I'll be looking forward to 
further news.

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