the #arrayToDataTable method doesn't support setting column roles.  You can 
set the role explicitly after the DataTable is created like this:

dataTable.setColumnProperty(3, 'role', 'tooltip');

On Monday, May 20, 2013 5:45:21 AM UTC-4, John wrote:
>
> Hi! 
> I'm using a Chart in which I like that the tooltip is a info different to 
> the Chart.
> I'm using a ArrayToDataTable, but I don't know how I can do that. 
>
>
> That's is the code:
>
>             var dataTable = google.visualization.arrayToDataTable([
>   ['Year', 'Info1', 'Info2', 'Name' role:'tooltip'],
> ['1958',0,1,'Name1'],
> ['1961',0,1,'Name2']
> ]);
>
>
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to