[visualization-api] Re: display hour text but not all hours

2014-07-07 Thread Neil Camara
Here it is Andrew. Sorry, I was all day out in my garden. :) https://gist.github.com/c0debreaker/4e4944c382ac44757db4 On Sunday, July 6, 2014 2:37:42 PM UTC-5, Andrew Gallant wrote: Can you post a sample of the jsonData contents? On Sunday, July 6, 2014 2:44:07 AM UTC-4, Neil Camara wrote:

[visualization-api] google charts annotations show right side of point

2014-07-07 Thread kiran kumar reddy
How can I show annotation of the point at right-hand-side of the point but it showing on the top of point https://lh5.googleusercontent.com/-dBtuHb0wP1I/U7qNhCZim6I/J1g/A6zY_DwqeSI/s1600/graph.png I want it like below:

[visualization-api] SetSelection Fails on Scatter Graph

2014-07-07 Thread Murilo Faria
Hi, I'm trying to change de selection of Scatter Graph when user click in a button, but when I call the setSelection function with the specific row and column that I want to select, the following exception is throw: Cannot read property 'nodeType' of undefined or null reference.

[visualization-api] SetSelection Fails on Scatter Graph

2014-07-07 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi, I was unable to reproduce your issue. Could you please modify this jsfiddle ( http://jsfiddle.net/7RfLn/ ) in such a way that it fails in the way you're seeing? On Mon Jul 07 2014 at 9:19:53 AM, Murilo Faria murilofa...@gmail.com wrote: Hi, I'm trying to change de selection of Scatter

[visualization-api] Help for beginer : simple chart with setInterval

2014-07-07 Thread thecatz
Hello, I'm trying google chart and i want to refresh my char every x seconds, for that i use setInterval. I don't want to use ajax but juste refresh the entire chart. is it possible ? this is my code : html head script type=text/javascript src=https://www.google.com/jsapi;/script

Re: [visualization-api] SetSelection Fails on Scatter Graph

2014-07-07 Thread Murilo Faria
Strange, the difference between your code and my, is that the button that setSelection is in the tooltip, I'll try to reproduce it there. Em segunda-feira, 7 de julho de 2014 11h04min11s UTC-3, Sergey escreveu: Hi, I was unable to reproduce your issue. Could you please modify this jsfiddle (

Re: [visualization-api] SetSelection Fails on Scatter Graph

2014-07-07 Thread Murilo Faria
I did a similar code like my app, and here works http://jsfiddle.net/uYcvq -- 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

[visualization-api] Re: Help for beginer : simple chart with setInterval

2014-07-07 Thread Jeremy Faller
setInterval should work for you. Additionally, you want to change the data values to add your new value. Check out the following fiddle: http://jsfiddle.net/VEgxC/ On Monday, July 7, 2014 10:25:20 AM UTC-4, thecatz wrote: Hello, I'm trying google chart and i want to refresh my char every

Re: [visualization-api] Re: Display the value of a point even if not focusing on it

2014-07-07 Thread 'Daniel LaLiberte' via Google Visualization API
A new 'chart' option will let you fix this yourself now by adding this to your options: options = { 'chart': { 'focustTarget': 'category' } } I will make this default in a future verison. Thanks for reporting it. On Mon, Jun 30, 2014 at 1:56 PM, Andrew Gallant asgallant...@gmail.com

[visualization-api] Re: Display the value of a point even if not focusing on it

2014-07-07 Thread antoine . beyet
Ok 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

Re: [visualization-api] SetSelection Fails on Scatter Graph

2014-07-07 Thread 'Sergey Grabkovsky' via Google Visualization API
This seems to be a timing issue. If you put your selection code in a setTimeout block, everything works perfectly. Here is the fixed version: http://jsfiddle.net/P77hd/ On Mon Jul 07 2014 at 11:12:14 AM, Murilo Faria murilofa...@gmail.com wrote: I did a similar code like my app, and here works

Re: [visualization-api] Re: Display a vertical line that will move with the mouse

2014-07-07 Thread Wishwamitra
Thanks a lot for you response. I have tried to follow the example1 http://jsfiddle.net/asgallant/tVCv9/12/ but I am not able to reproduce the effect on my chart as cli.getBoundingBox('hAxis#0#gridline') always returns a null. Now I am trying to start over with the simplest use case. I have

[visualization-api] Turning data retrieved from mysql database into chart.

2014-07-07 Thread khalil negron
Trying to turn this data retrieved from mysql database into a chart or graph. Here my code queries the database and displays it as a table, i want to also display it as a chart underneath the table. I have read all the google doc information still can not grasp this. Can someone help. Thanks

[visualization-api] Treemap: Labels

2014-07-07 Thread Lindsey Cook
From the root, my treemap has 3 layers of children. I would like the text to show on the graph on everything except for the last layer. Is it possible to have the ID not show for only one of the layers or to change the color of the text to match the background for one of the layers or some

[visualization-api] Re: display hour text but not all hours

2014-07-07 Thread Andrew Gallant
Can you also post the code where the chart is drawn? I'm trying to replicate your setup as exactly as I can (as far as the chart is concerned) so I can figure out what we need to do to get this to display the way you want. On Monday, July 7, 2014 1:59:58 AM UTC-4, Neil Camara wrote: Here it

Re: [visualization-api] Re: Display a vertical line that will move with the mouse

2014-07-07 Thread Andrew Gallant
To get vertical lines, you have to annotate the domain column, which means that your annotation column has to be column index 1. Use the #insertColumn method to add the new column at the required index: var newColInd = 1; data.insertColumn(newColInd, {type : 'string', role : 'annotation'});

[visualization-api] Re: Turning data retrieved from mysql database into chart.

2014-07-07 Thread Andrew Gallant
Try this: $data = array(array('Server, Month, Year', 'Number of Toner Cartridges Used')); while($row = mysqli_fetch_array($result)) { echo tr; echo td . $row[0] . /td; echo td . $row[1] . /td; echo /tr; $data[] = array($row[0], $row[1]); } Then, in javascript: function drawChart () { var

[visualization-api] Tooltip has too many decimal places

2014-07-07 Thread Nicole Goldup
Hi there, I have two column charts that I have set the format as #%. I have a custom tooltip that the values are being multiplied by 100 (to show the percentage value instead of the decimal value). Some of the values have added extra decimal places than it should have. Example pages: