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 =
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
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,
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
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
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?
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
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 =
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:
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
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
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);
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
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
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
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:
16 matches
Mail list logo