Re: [visualization-api] Re: Tooltip role in a ArrayToDataTable.

2015-02-05 Thread Tong Sun
On Thu, Feb 5, 2015 at 11:10 AM, 'Sergey Grabkovsky' via Google Visualization API wrote: > Here's a jsfiddle: http://jsfiddle.net/ovxLjqyn/ > Perfect! much simpler than I thought. Thanks! -- You received this message because you are subscribed to the Google Groups "Google Visualization API" g

Re: [visualization-api] Re: Tooltip role in a ArrayToDataTable.

2015-02-05 Thread 'Sergey Grabkovsky' via Google Visualization API
Here's a jsfiddle: http://jsfiddle.net/ovxLjqyn/ On Thu Feb 05 2015 at 11:01:58 AM Tong Sun wrote: > Thanks. I've altered my starter code to use the CoreCharts instead: > > > ``` > > > > https://www.google.com/jsapi > "> > > // Load the Visualization API > google.lo

Re: [visualization-api] Re: Tooltip role in a ArrayToDataTable.

2015-02-05 Thread Tong Sun
Thanks. I've altered my starter code to use the CoreCharts instead: ``` https://www.google.com/jsapi "> // Load the Visualization API google.load("visualization", '1.1', {packages:['corechart']}); google.setOnLoadCallback(drawStuff); function drawStuff()

Re: [visualization-api] Re: Tooltip role in a ArrayToDataTable.

2015-02-05 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Tong, Custom tooltips are not yet supported for the Material Charts. If you want this feature, you should use the CoreCharts. On Thu Feb 05 2015 at 10:31:48 AM Tong Sun wrote: > > > On Thursday, February 5, 2015 at 12:21:03 AM UTC-5, Tong Sun wrote: >> >> >> >> On Sunday, November 17, 2013 a

Re: [visualization-api] Re: Tooltip role in a ArrayToDataTable.

2015-02-05 Thread Tong Sun
On Thursday, February 5, 2015 at 12:21:03 AM UTC-5, Tong Sun wrote: > > > > On Sunday, November 17, 2013 at 11:21:25 PM UTC-5, asgallant wrote: >> >> If you want custom tooltips to apply to all columns, you will need to do >> one of two things: either add a tooltip column after every data column

Re: [visualization-api] Re: Tooltip role in a ArrayToDataTable.

2015-02-04 Thread Tong Sun
On Sunday, November 17, 2013 at 11:21:25 PM UTC-5, asgallant wrote: > > If you want custom tooltips to apply to all columns, you will need to do > one of two things: either add a tooltip column after every data column you > want a custom tooltip for, or use a DataView to create custom tooltip

Re: [visualization-api] Re: Tooltip role in a ArrayToDataTable.

2013-11-18 Thread Sandy
hmm.. i had total misunderstanding of tool tip. Thanks for your help. On Mon, Nov 18, 2013 at 9:51 AM, asgallant wrote: > Ahh, I see that now; sorry, I should have looked closer. The tooltip role > column is working properly: the problem is that the data in column 12 > ("Dec") is 0 for both row

Re: [visualization-api] Re: Tooltip role in a ArrayToDataTable.

2013-11-17 Thread asgallant
Ahh, I see that now; sorry, I should have looked closer. The tooltip role column is working properly: the problem is that the data in column 12 ("Dec") is 0 for both rows, so the is no column to trigger the tooltip (if you put values in for "Dec" you will see the tooltips). If you want custom

Re: [visualization-api] Re: Tooltip role in a ArrayToDataTable.

2013-11-17 Thread Sandy
Hi, It's actually a column chart...I used piechart2 as just variable name. On Monday, November 18, 2013, asgallant wrote: > Your data is not structured correctly for a PieChart. The PieCharts > expect two columns of data: one "string" type (for the slice labels) and > one "number" type (for the

Re: [visualization-api] Re: Tooltip role in a ArrayToDataTable.

2013-08-13 Thread Steven Brooks
I ended up passing the script a ruby method which return an array of strings. I looped through those strings and ran "eval" on them so JS would run them as JS methods. Works and scaled perfectly. On Tuesday, August 13, 2013 12:10:05 PM UTC-4, asgallant wrote: > > You'll need to either include

Re: [visualization-api] Re: Tooltip role in a ArrayToDataTable.

2013-08-13 Thread Steven Brooks
Awesome. That worked. No all I need to do is make a method that will popular setColumnProperty the correct amount of times depending on how many columns I have. On Tue, Aug 13, 2013 at 12:10 PM, asgallant wrote: > You'll need to either include a column with those strings, or have that > informa

Re: [visualization-api] Re: Tooltip role in a ArrayToDataTable.

2013-08-13 Thread asgallant
You'll need to either include a column with those strings, or have that information somewhere in the DataTable so you can create the strings. Each data series needs its own tooltip column if you intend to override the default tooltips. On Tuesday, August 13, 2013 9:20:44 AM UTC-4, Steven Brook

Re: [visualization-api] Re: Tooltip role in a ArrayToDataTable.

2013-08-13 Thread Steven Brooks
Actually I guess what I would like to do is have each column have a similar tooltip with different information.. For example each column is the total weight a user lifted for an exercise in a weight training routine. I'd like the tooltips for each columns / (set) do display a string that I will

Re: [visualization-api] Re: Tooltip role in a ArrayToDataTable.

2013-08-13 Thread Steven Brooks
I only see a tooltip for the specific column that I choose. So if I choose column 2, that column has a tooltip and the others have their defaults. I'd like each column to have their own tooltip. Would I need to set each columns tooltip individually or have a universal tooltip? On Monday, Aug

Re: [visualization-api] Re: Tooltip role in a ArrayToDataTable.

2013-08-12 Thread asgallant
Using that method, it is just a tooltip. On Monday, August 12, 2013 6:34:54 PM UTC-4, Steven Brooks wrote: > > Would the column become solely a tooltip or will its be a tooltip as well > as data that will be displayed in the column? > > Steven Brooks > > > Sent from my iPhone > > > > > > On Aug 1

Re: [visualization-api] Re: Tooltip role in a ArrayToDataTable.

2013-08-12 Thread Steven Brooks
Would the column become solely a tooltip or will its be a tooltip as well as data that will be displayed in the column? Steven Brooks Sent from my iPhone On Aug 12, 2013, at 6:05 PM, asgallant wrote: > You need to call that before you draw the chart. For organization purposes, > I woul