[visualization-api] How do you add labels to datapoints?

2012-03-05 Thread Mike
I need to add labels to each data point which shows the value next to the point. How can you achieve this? -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To post to this group, send email to google-visualization-api@googlegroups.com

[visualization-api] Area chart labels

2012-03-05 Thread billsaysthis
We have a fairly simple use case, showing 2-90 days of a single data item, on an area chart. But I can't understand how to correct two issues with the horizontal axis labels, which are dates and have slanted=false, and would appreciate advice: - some labels are cut off even though all are the s

[visualization-api] Meaningful hovertext with geochart US regions map

2012-03-05 Thread emissary1521
We have some US metro region charts implemented with the old geomap API. We'd like to migrate to geochart to remove the dependence on Flash. With geomap we're able to set the hovertext, like this: data.addRow(['501',83.9,'New York']); With geochart we can't figure out how to set the hovertext.

[visualization-api] Re: Charts and CSV

2012-03-05 Thread R22MPM
Hmm i have just pasted that into my code with no joy, no chart is displayed. this is my complete code, can you spot anything wrong? FT Support Dashboard http://www.google.com/jsapi";> google.load('visualization', '1', {'packages':['gauge,tab

[visualization-api] Re: Charts and CSV

2012-03-05 Thread R22MPM
Fantastic, thanks for that would you be able to give me an example of how i would implement that into this code? http://www.google.com/jsapi";> google.load('visualization', '1', {'packages':['gauge,table,piechart,orgchart,barchart']}); // Set a callback to run when the API is

[visualization-api] Re: Annotated Time Line

2012-03-05 Thread Dominic
I think it is an issue of iOS not understanding that the control slider is clickable, therefore no mouse events are generated for that object. So you would need to tell the browser that this is a clickable object... Need to look into the documentation of control objects to see if this is feasible.

Re: [visualization-api] Re: Responsive/fluid Line Chart?

2012-03-05 Thread asgallant
No, it would not. You have to redraw the chart to make it have different dimensions. On Monday, March 5, 2012 12:54:36 PM UTC-5, Julien wrote: > > Thanks for your answer. > > That would not work if I resize my browser window though, would it? > > (An example of what I mean using Flot: > http://

Re: [visualization-api] Re: Responsive/fluid Line Chart?

2012-03-05 Thread Julien Chaumond
Thanks for your answer. That would not work if I resize my browser window though, would it? (An example of what I mean using Flot: http://people.iola.dk/olau/flot/examples/resize.html) Julien On Mon, Mar 5, 2012 at 5:27 PM, asgallant wrote: > I believe that if you set the 'width' option to a

[visualization-api] Re: Annotated Time Line

2012-03-05 Thread asgallant
I think that's up to Apple to implement touch events in their browser, which you could then hook into with javascript, or emulate mouse events with touch. I don't think there is anything on the JS-side that you can do until they implement one or the other (same goes for Android or other mobile

[visualization-api] Re: Charts and CSV

2012-03-05 Thread asgallant
That change would need to be made in the java source code for the server applet. I think JAR files are compressed files, you should be able to open them with something like 7-zip (winzip or winrar should be able to do it too), and extract the source code within. If you want to do it in javascr

[visualization-api] Re: Annotated Time Line

2012-03-05 Thread Dominic
The example code you posted does work on the iPad. I have no idea yet how to "click" on the slider of the control though. Maybe there is gesture you can do this with... Nevertheless most users will have the same problem. So a control slider that can be moved with touch interfaces would be a must ha

[visualization-api] Re: Charts and CSV

2012-03-05 Thread R22MPM
Would i need to do this in the Java Class file rather than in the JavaScript on the page? If so it should be fairly easy to change but how do i edit the JAR or Class file? opening in something like Programmers Notepad give a load of rubbish text Thanks On Friday, March 2, 2012 4:07:10 PM UTC

Re: [visualization-api] Charts and CSV

2012-03-05 Thread asgallant
Ok, I see it now. You can override the column types by passing a list to the second parameter of the read call, see the description of the read method: http://code.google.com/apis/chart/interactive/docs/dev/dsl_javadocs/com/google/visualization/datasource/util/CsvDataSourceHelper.html On Mo

Re: [visualization-api] Charts and CSV

2012-03-05 Thread R22MPM
Hi, thanks for the reply I am using the example here : http://code.google.com/apis/chart/interactive/docs/dev/dsl_csv.html to parse the CSV. I mentions in the commenting about always assuming the column is string, so i just need to work out how to change this Matt On Monday, March 5, 2012 4:

Re: [visualization-api] Charts and CSV

2012-03-05 Thread asgallant
I don't work with the java applets, but if they implemented proper CSV parsing, then data types should be determined correctly, as CSV's usually have a syntax for handling strings and numbers differently (most often, they use quotes around strings, but there is no universal standard for CSV's,

[visualization-api] Re: Responsive/fluid Line Chart?

2012-03-05 Thread asgallant
I believe that if you set the 'width' option to a percentage, it will draw the chart based on the container div's dimensions. On Monday, March 5, 2012 10:27:40 AM UTC-5, Julien wrote: > > Hi, > > Is there any way I can make a responsive line chart, i.e., a line > chart whose width wouldn't be h

Re: [visualization-api] Charts and CSV

2012-03-05 Thread R22MPM
I think i can do this by using the following function setColumnProperty, does anyone know the name of the porperty i need to change? i have tried ValueType but no joy Thanks On Monday, March 5, 2012 1:22:47 PM UTC, R22MPM wrote: > > That page is using hardcoded values though isnt it? > > The

[visualization-api] Responsive/fluid Line Chart?

2012-03-05 Thread Julien
Hi, Is there any way I can make a responsive line chart, i.e., a line chart whose width wouldn't be hardcoded but would depend e.g. on the CSS container's width? Thanks! Julien -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To po

[visualization-api] Re: Annotated Time Line

2012-03-05 Thread asgallant
As I understand it, the iPad supports SVG, so there shouldn't be any problem using *most* of the charts (there are a few Flash-based [ATL, Motion charts] that won't work). The controls (like ChartRangeFilter) are all SVG-based, so there should not be any problem. I believe that the ChartRangeF

[visualization-api] Re: javascript equivalent of chxl

2012-03-05 Thread asgallant
There is no way to do that in the Visualization API. On Monday, March 5, 2012 9:08:33 AM UTC-5, De Ontwikkelfabriek wrote: > > I would like to create the javascript version of the chxl option and > therefore create two sets of x-axis labels > > the example I would like to create is : > > > http

[visualization-api] Re: Implemention of google charts with asp .net web applications without the use of javascript.

2012-03-05 Thread asgallant
Can you post your code or a link to the page? On Monday, March 5, 2012 6:14:48 AM UTC-5, Rahul Ranjan wrote: > > I have tried using JSON but failed to render the string builder. Can > you help me with this? > > On Mar 2, 8:56 pm, asgallant wrote: > > The Visualization API charts are generated

[visualization-api] Re: Using Visualization on Blogger - Pages and Sidebar Gadgets

2012-03-05 Thread asgallant
We can help more if you share the code/link to the page. I suspect the problem is one (or more) of 5 different (but related) issues. On Sunday, March 4, 2012 6:19:39 PM UTC-5, boooeee wrote: > > On blogger, I have a standalone page that uses a google visualization > dashboard (a category picker

[visualization-api] Re: Annotated Timeline JSON

2012-03-05 Thread asgallant
When passing date via JSON, you have to pass the Date as a string, since Date objects are not valid JSON. The proper format is "v": "Date(2010, 01, 01)" - note that there is no "new" keyword there. -- You received this message because you are subscribed to the Google Groups "Google Visualiza

[visualization-api] Re: Annotated Time Line

2012-03-05 Thread Dominic
Hello asgallant, great example! I wasn't aware of this possibility of range filters. Two questions: - do you know if there is a way to use the range filter slider handle on the iPad - es there any limitation to use this with a combo chart Thanks a lot -- You received this message because you ar

[visualization-api] javascript equivalent of chxl

2012-03-05 Thread De Ontwikkelfabriek
I would like to create the javascript version of the chxl option and therefore create two sets of x-axis labels the example I would like to create is : http://chart.googleapis.com/chart?chxt=x,y,r,x&chxl=0:|Jan|July|Jan|July|Jan|2:|A|B|C|3:|2005||2006||2007&cht=bvs&chd=s:c9uDc&chco=76A4FB&chls=2.

Re: [visualization-api] Charts and CSV

2012-03-05 Thread R22MPM
That page is using hardcoded values though isnt it? The issue i have is that i need to change the JSON column format which is always string when using a CSV file? On Sunday, March 4, 2012 1:59:57 PM UTC, Yuval Ronen wrote: > > Not all columns will be of type string, you choose the type. See t

[visualization-api] Disable balloon info but still keep tip note on google.visualization.map

2012-03-05 Thread hiddenstones
Hi, Is it possible to disable balloon info when clicking a maker but still keep tip note when the mouse hover over a marker? I already had a custom click/'select' event. 'showTip' feature only does both: either keeping both or disable both... :( Any help would be very appreciated. Thanks. -- You

[visualization-api] Re: Implemention of google charts with asp .net web applications without the use of javascript.

2012-03-05 Thread Rahul Ranjan
I have tried using JSON but failed to render the string builder. Can you help me with this? On Mar 2, 8:56 pm, asgallant wrote: > The Visualization API charts are generated entirely with Javascript, so if > you can't use JS, then you are out of luck.  The Image Charts do not > require JS, though:

Re: [visualization-api] Abridged summary of google-visualization-api@googlegroups.com - 6 Messages in 5 Topics

2012-03-05 Thread Li Chen
-- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. Fo