[visualization-api] Re: question on slider control

2012-11-09 Thread Vikas NV
But still it does not work, it seems like the entered numbers in textbox get rounded off before filtering ... On Friday, November 9, 2012 7:46:56 AM UTC+5:30, Vikas NV wrote: I have starred the issue. As a work around I have done this: 1. I have put a select menu, from which users can select

[visualization-api] Re: question on slider control

2012-11-09 Thread asgallant
Are you trying to set the state of the slider to some non-integer value? If so, it won't work - the sliders only use integer values. On Friday, November 9, 2012 3:20:47 AM UTC-5, Vikas NV wrote: But still it does not work, it seems like the entered numbers in textbox get rounded off before

[visualization-api] Re: Populate the data table with Values which i am having in Hidden field

2012-11-09 Thread Ashu Bhatia
On Thursday, June 7, 2012 7:25:19 PM UTC+5:30, asgallant wrote: Most likely, the value pulled from the HTML element is being interpreted as a string. You might be able to get it to work by using eval() on the input before passing it to the #arrayToDataTable method: var data =

[visualization-api] Drawing the chart dynamically when receiving data

2012-11-09 Thread diferdin
Hi all, I am getting to know Google Charts for the first time, and I struggle to understand how to do the following so I thought to ask the group. I have tried to search for other similar threads in this same group but I was unsuccessful. What I am essentially trying to to is to draw a

[visualization-api] Annotated Time Line code problem (beginner)

2012-11-09 Thread Natka
Hi community, what's wrong with this code: (it doesn't report any errors, and gives the blank webpage) package com.visualization.client; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.user.client.ui.Panel; import com.google.gwt.user.client.ui.RootPanel; import

[visualization-api] Google Piechart

2012-11-09 Thread Ashu Bhatia
Hello I am using google API to draw google Piechart using WebMethod. Below is my code for calling Webmethod. script type=text/javascript var result1; var data1; var i; var chart google.load('visualization', '1', { packages: ['corechart'] });

[visualization-api] Re: Value Changes

2012-11-09 Thread asgallant
There are a handful of things you will need to change if you want to use a dropdown instead of a button; principally, you need to use an onchange event handler for the dropdown, and grab the value of the dropdown from the list to choose which data set to use. Here's the example code, done with

[visualization-api] Re: Google Piechart

2012-11-09 Thread asgallant
What does result1 look like when when you run the code? On Friday, November 9, 2012 5:19:34 AM UTC-5, Ashu Bhatia wrote: Hello I am using google API to draw google Piechart using WebMethod. Below is my code for calling Webmethod. script type=text/javascript var result1;

[visualization-api] Re: Showing Children in Treemap

2012-11-09 Thread API Developer
Thanks so much! On Wednesday, November 7, 2012 9:30:33 AM UTC-5, Tayeb Karim wrote: Are you looking for the maxPostDepth option? https://developers.google.com/chart/interactive/docs/gallery/treemap -- You received this message because you are subscribed to the Google Groups Google

[visualization-api] Re: Drawing the chart dynamically when receiving data

2012-11-09 Thread asgallant
There are a number of different ways to approach this, but lets start with the simplest case. When you receive data for the first time, build a new DataTable with it. You can then update the DataTable (using the #setValue or #setCell methods to change an existing cell, or the #addRow/#addRows

[visualization-api] creating linear model charts with googlevis

2012-11-09 Thread Mike Dylan
I see that you can do nice charts using googlevis. Has anybody done trending, linear model charts with googlevis? Is it possible? Regards, Mike -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To view this discussion on the web

[visualization-api] Re: creating linear model charts with googlevis

2012-11-09 Thread asgallant
If you can crunch the numbers, you can chart it. On Friday, November 9, 2012 3:05:52 PM UTC-5, Mike Dylan wrote: I see that you can do nice charts using googlevis. Has anybody done trending, linear model charts with googlevis? Is it possible? Regards, Mike -- You received this

[visualization-api] Populating Data Using Server-Side Code Question? Thanks a lot

2012-11-09 Thread Bob Zinc
I am using php to already generate json formatted datatable. My question is do I still need .json file as a transactional text file? I don't think .json is needed as in the example https://groups.google.com/forum/?fromgroups#!newtopic/google-visualization-api But the problem is that I used json

[visualization-api] Motion Chart Time Format in HTML5?

2012-11-09 Thread Ben
Hi all, Motion Chart Time doesn't display on Apple devices (iPhone, iPad..) since it uses Adobe Flash. So I wonder if someone knows if an adaptation in HTML5 might be released one day? Thanks for your answers, Ben -- You received this message because you are subscribed to the Google Groups

[visualization-api] Bind Color To Column (feature request)

2012-11-09 Thread Paul Brown
Currently I don't think it's not possibly to bind a color to a specific category (column/color in the legend). If I have 5 categories, I will need to add an array of colors for them. However, if my chart is dynamic and doesn't always have 5 categories (one missing in the middle) - this will

[visualization-api] Re: Populating Data Using Server-Side Code Question? Thanks a lot

2012-11-09 Thread asgallant
Open getData.php in your browser and post the JSON output. On Friday, November 9, 2012 3:59:20 PM UTC-5, Bob Zinc wrote: I am using php to already generate json formatted datatable. My question is do I still need .json file as a transactional text file? I don't think .json is needed as in

[visualization-api] Re: Bind Color To Column (feature request)

2012-11-09 Thread asgallant
You can use the series.series index.color option to assign a specific color to a specific series, and as long as you keep track of which series are being used in a given chart, you can keep your colors consistent. On Friday, November 9, 2012 4:25:34 PM UTC-5, Paul Brown wrote: Currently I

[visualization-api] Re: Value Changes

2012-11-09 Thread asgallant
Right click in the result window and view the frame's source code. jsfiddle throws a few things in there that you don't strictly need (the css and mootools stuff); also, to get jsfiddle to use the google API link, I had to add a .js to the end of it, hence the fake=.js part of the src url,

[visualization-api] Re: Value Changes

2012-11-09 Thread Mike Aitken
Thank you asgallant, you sir are a gentleman and a scholar! Cheers, Mike On Saturday, 10 November 2012 10:00:50 UTC+10, asgallant wrote: Right click in the result window and view the frame's source code. jsfiddle throws a few things in there that you don't strictly need (the css and

Re: [visualization-api] Motion Chart Time Format in HTML5?

2012-11-09 Thread Sergey Grabkovsky
Hi Ben, There is currently no version of Motion Chart that uses HTML5, but depending on which features you need, the corecharts packages might satisfy your needs, though you will have to make the controls to switch between charts yourself. We currently don't have any plans to release an HTML5

Re: [visualization-api] Re: Populating Data Using Server-Side Code Question? Thanks a lot

2012-11-09 Thread Bob Zinc
Thanks a lot. But my getData.php is get data from a database, and wrap them as in a json string. I need to generate different charts based on different parts of database. cannot post the JSON output... On Fri, Nov 9, 2012 at 6:53 PM, asgallant drew_gall...@abtassoc.com wrote: Open getData.php

[visualization-api] Re: columnChart labels

2012-11-09 Thread Karen Lostritto
Thanks - is there any easy way to parse that out? Basically I'm writing a function (shown below) where this table (utilityTable) is given as input and the first column of the table automatically contains these links, and I'm not sure how to parse out just the label part in a systematic way

[visualization-api] Re: Value Changes

2012-11-09 Thread asgallant
You're welcome. On Friday, November 9, 2012 7:25:17 PM UTC-5, Mike Aitken wrote: Thank you asgallant, you sir are a gentleman and a scholar! Cheers, Mike On Saturday, 10 November 2012 10:00:50 UTC+10, asgallant wrote: Right click in the result window and view the frame's source code.

Re: [visualization-api] Re: Populating Data Using Server-Side Code Question? Thanks a lot

2012-11-09 Thread asgallant
Well, if you have jQuery working and the json is in the right format, then the chart should draw using that js code. If jQuery is working and the chart's aren't drawing, then there is a problem with the json format. Does the debug console in Chrome tell you anything when you try to view the

[visualization-api] Re: columnChart labels

2012-11-09 Thread asgallant
So your DataTable already contains the labels as links? Do you need them to be links for something other than the chart? If not, then the easiest solution is to not enter them into the DataTable as links. If you do need them for something else, then you can use a DataView with a calculated

[visualization-api] Re: columnChart labels

2012-11-09 Thread asgallant
So your DataTable already contains the labels as links? Do you need them to be links for something other than the chart? If not, then the easiest solution is to not enter them into the DataTable as links. If you do need them for something else, then you can use a DataView with a calculated

[visualization-api] Re: columnChart labels

2012-11-09 Thread Karen Lostritto
Thank you so much - your code worked perfectly! This is all part of a bigger system where the data is given to me in a certain format so I can't control the input, but what you sent works out really well for what I need. Thank you! On Friday, November 9, 2012 6:41:02 PM UTC-8, asgallant wrote:

Re: [visualization-api] Re: Populating Data Using Server-Side Code Question? Thanks a lot

2012-11-09 Thread Bob Zinc
Thanks a lot, I will try again with Chrome firebug like debugger, cannot access server at home.. On Fri, Nov 9, 2012 at 9:24 PM, asgallant drew_gall...@abtassoc.com wrote: Well, if you have jQuery working and the json is in the right format, then the chart should draw using that js code. If