[visualization-api] How to make use of click event (google pie chart) in a second script

2013-04-27 Thread Olaf
Hi all, I use the Google pie chart. I generate the script from a server java class and let it show in a browser. I have a different java script that contains a function. My question is: How can I call this function from my generated Google pie chart script: + var options =

[visualization-api] Re: How to not display the data table

2013-04-27 Thread Pradeep Shankar M
Please find my sample code herehttp://stackoverflow.com/questions/16237606/google-visualization-data-grouping. I think it will solve your problem. On Thursday, March 8, 2012 9:22:28 PM UTC+5:30, Andrew wrote: Hi All, I,m very new to the visualization API and can't figure out how to not

[visualization-api] Re: Google Charts - Multiple line in a graph.

2013-04-27 Thread Alex
thanks my code: ?php // Aceder a base de dados $host = ...; $user= ...; $pass = ; $db=; $acessoDB = pg_connect(host=$host dbname=$db user=$user password=$pass); if (!$acessoDB){ die (Não foi possível aceder à base de dados.); } $queryData =pg_query(SELECT start_time,

[visualization-api] Re: How to make use of click event (google pie chart) in a second script

2013-04-27 Thread asgallant
Open the page in Chrome and view the developer's console (ctrl+shift+j to open). What error message(s) do you see? Also, if you need help debugging, posting a link to the page or a copy of the code as seen by a browser (after it has been rendered by the server, open the page and view the

[visualization-api] Re: Google Charts - Multiple line in a graph.

2013-04-27 Thread asgallant
I joined the tables together into one query statement, which should substantially simplify things, and fixed up the DataTable creation code. I also made a few minor edits here and there. Try the attached file and see if it works. If it doesn't work, open it in a browser and view the page

Re: [visualization-api] Re: How to make use of click event (google pie chart) in a second script

2013-04-27 Thread Olaf Resch
Hi, thank you for your help. I managed to workaround the problem by integrating the chart api functions in my main script. BW Olaf 2013/4/27 asgallant drew_gall...@abtassoc.com Open the page in Chrome and view the developer's console (ctrl+shift+j to open). What error message(s) do you see?

Re: [visualization-api] Re: CandlestickChart and Chart Wrapper

2013-04-27 Thread Seth Messer
So, I realize this thread is *OLD* but I am having similar issues.. Asgallant, would you mind taking a look at my code? essentially doing the same thing as ErikM and am getting the same error: https://gist.github.com/megalithic/ee8f2e55573a1939f9fd My dates are coming in as

Re: [visualization-api] Re: CandlestickChart and Chart Wrapper

2013-04-27 Thread asgallant
You need to parse those dates into the correct format. Use this: if (angular.isDefined(chartData)) { for (var i = 0; i chartData.length; i++) { var dateTimeArray = chartData[i][0].split('T'); var dateArray = dateTimeArray[0].split('-'); var timeArray =

Re: [visualization-api] Re: annotated timeline, multiple series, hide/showdatacolmumn and scale

2013-04-27 Thread Brian Quirion
That will do it. Thanks a ton. Ah and this autochanges scale as well when using the range selector. Are you folks moving away from annotated timelines more? :) On Fri, Apr 26, 2013 at 9:50 PM, asgallant drew_gall...@abtassoc.comwrote: Here's an example conversion to LineCharts:

Re: [visualization-api] Re: annotated timeline, multiple series, hide/showdatacolmumn and scale

2013-04-27 Thread asgallant
The ATL charts are old, and I doubt that the dev team will be doing any updates to them. The charts in the corechart package (and maybe a few others) are the way to go moving forward. On Saturday, April 27, 2013 2:03:50 PM UTC-4, Brian Quirion wrote: That will do it. Thanks a ton. Ah and

Re: [visualization-api] Re: CandlestickChart and Chart Wrapper

2013-04-27 Thread asgallant
I created a test page based on your code and the modifications I supplied, and it works fine for me - can you elaborate on what precisely is wrong? On Saturday, April 27, 2013 4:22:03 PM UTC-4, Seth Messer wrote: @asagallant, Thanks much for the response. i've been able to parse and create

[visualization-api] NumberFormat on multiple columns

2013-04-27 Thread Mike Soja
The simplest things cause the most angst. Chart with 4 columns, datetime, number, number, number. This works... var num_format = new google.visualization.NumberFormat({groupingSympbol:',', fractionDigits:0}); num_format.format(data,1); num_format.format(data,2); num_format.format(data,3);

[visualization-api] setRowProperty - property set using this does not get inherited to data view

2013-04-27 Thread Vikas NV
Hi, I have a data table in which i set a property to a row using setRowProperty; basically add a class which changes the background color to red. But after I create a data view from above said data table and create a table chart I do not see the red back ground rows. Am I doing something

[visualization-api] Re: NumberFormat on multiple columns

2013-04-27 Thread asgallant
No, you have to call the format on each column separately. On Saturday, April 27, 2013 8:07:31 PM UTC-4, Mike Soja wrote: The simplest things cause the most angst. Chart with 4 columns, datetime, number, number, number. This works... var num_format = new

[visualization-api] Re: NumberFormat on multiple columns

2013-04-27 Thread Mike Soja
Dang. But thanks for the answer. -- 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

[visualization-api] Re: setRowProperty - property set using this does not get inherited to data view

2013-04-27 Thread asgallant
The DataView is likely preserving the row property just fine; the problem is that Table visualizations (which is what I assume you are using) do not accept row-level properties - they only use properties set on individual cells. On Saturday, April 27, 2013 9:54:04 PM UTC-4, Vikas NV wrote: