Column roles don't work with diff charts right now.  The dev team is aware 
of the problem, you can view and "star" the bug 
report<https://code.google.com/p/google-visualization-api-issues/issues/detail?id=1455>to
 get updates on a fix.

On Sunday, May 11, 2014 8:14:18 AM UTC-4, Colin Bolton wrote:
>
> Hey,
>
> I'm a newbie to google charts and have been playing with the diff charts - 
> the diff scatter to be exact. 
>
> I can set the tooltip of a point on a scatter chart by adding a column 
> with role of tooltip
>
> var newData = google.visualization.arrayToDataTable([
>                       ['Data1', 'Data2', { role: 'tooltip' }],
>                       [356070, 8034, 'tooltip1'],
>                       [177101, 91863, 'tooltip2'],
>                       [84194, 1304, 'tooltip3']]);
>
> but if I then try to create an 'old' data set
>
> var oldData = google.visualization.arrayToDataTable([
>                       ['Data1', 'Data2', { role: 'tooltip' }],
>                       [356070, 8034, 'tooltip4'],
>                       [177101, 91863, 'tooltip5'],
>                       [84194, 1304, 'tooltip6']]);
>
> and create a diff dataset
>
> var diffData = chartDiff.computeDiff(oldData, newData);
>
> and plot this in a scatter chart the tooltip information is not used. 
>
> Any ideas on how to get tooltips on the diff scatter plot?
>
> Thanks!!
>
> Colin
>
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to