[visualization-api] Re: Group the legends

2014-08-29 Thread Schabagh
Hi Andrew, thanks. How can I make a connection between my own legend and the chart, so that I get the information that I need to build the legend? Thanks Am Freitag, 29. August 2014 00:29:01 UTC+2 schrieb Andrew Gallant: You cannot group your legend items, sorry. You can, however, turn off

Re: [visualization-api] Adding suffix to legend values in Annotation charts

2014-08-29 Thread Shivani Kanakhara
yes it wil work. Thanks :) On Thursday, August 28, 2014 8:55:32 PM UTC+5:30, Daniel LaLiberte wrote: It sounds like you want to use the numberFormats option. Will that work? https://developers.google.com/chart/interactive/docs/gallery/annotationchart On Thu, Aug 28, 2014 at 2:53 AM,

[visualization-api] Re: Group the legends

2014-08-29 Thread Andrew Gallant
For most of the charts, the columns in your DataTable determine the data series. You can get the labels by reading the column labels out of the DataTable: // skip column 0 since that is typically the domain axis values and not a data series for (var i = 1; i data.getNumberOfColumns(); i++) {

Re: [visualization-api] Re: Line chart with changing view window and 2 x-axis (how do I do this?)

2014-08-29 Thread Andrew Gallant
Assuming you meant to set the filters range end at 30 days from the start, the way to do it is to get the start date + 30 days and set that as the control's state.range.end parameter. The reason you see months multiple times is because the tick marks correspond to multiple dates in the month

[visualization-api] GeoChart and Strings problem !!

2014-08-29 Thread cyb
Hi, i want implement a GeoChart https://developers.google.com/chart/interactive/docs/gallery/geochart?hl=de i have a DataTable with some Date Values but it seems that a GeoChart can not handle Date values, is this true ? then i have tried to stringify my Date Values, this works but then the

[visualization-api] Running into a problem with GOOG spreadsheet integration

2014-08-29 Thread Craig Pearce
I'm just learning all this JS and google visualization stuff. I have the following code, I just want it to display a table of the data I have in my google spreadsheet. As you can see, I have used the code from the Google Viz articles. I am trying to display a table first, then build up to

Re: [visualization-api] Running into a problem with GOOG spreadsheet integration

2014-08-29 Thread 'Jon Orwant' via Google Visualization API
JavaScript is case sensitive: you want to say google.visualization.Table to create a Table Chart. Remove that extra curly brace: that was just hiding the real error (undefined is not a function) that you wanted to see. Jon On Sat, Aug 30, 2014 at 12:02 AM, Craig Pearce craigpear...@gmail.com