Hi,

ok i have fixed the problem, i did transform Column 3 in a String and add a 
tooltip directliy in my view like this:
var toolTip=[
                                {
                                    type: 'string',
                                    role: 'tooltip',
                                    calc: function(dt,row){
                                        return 
'Column:'+dt.getColumnLabel(3);
                                    }

                                }
                            ];


the only problem is now, that the markers are to big, can i adjust the size 
of all markers in the options ? i need only one size for all markers!

and i have a second Question..
i have tried the Geo MAP, there is the same problem with Strings, but my 
custom tooltip above did not work there! is it possible to add custom 
tooltips to the Geo MAP(google maps) !?

and i use a chartwrapper... normally i clear my chart 
with "chartWrapper.getChart().clearChart();" but this did not work with 
google maps, is there something similar to clear the chart if i use google 
maps !?

Am Freitag, 29. August 2014 23:57:24 UTC+2 schrieb 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 
> tooltips did only show the value!
>
> if you go to this page 
> https://developers.google.com/chart/interactive/docs/gallery/geochart?hl=de 
> and open the first jsfiddle link. 
>
> The Tooltip shows for Canada:
>
> Canada
> Popularity: 500
>
> this is correct, but if i replace the numbers with strings like this:
>
>         var data = google.visualization.arrayToDataTable([
>           ['Country', 'Popularity'],
>           ['Germany', 'A'],
>           ['United States', 'B'],
>           ['Brazil', 'C'],
>           ['Canada', 'D'],
>           ['France', 'E'],
>           ['RU', 'F']
>         ]);
>
> it shows only "D" but i want this:
>
> Canada
> Popularity: D
>
> how can i fix this !?
>
> The same problem is with the latitude and longitude mode!
>
> i use a DataWrapper and i build my own view, i do the stringify like this:
>
> var latLongView=[0,1];
>  var xyViewStringify = [
>                     {
>                         sourceColumn: 2,
>                         type: 'string',
>                         calc: 'stringify'
>                     }
>                 ];
>
>                 //-----------------------------------
>                 latLongView.push.apply(latLongView, xyViewStringify);
>
> this works but the problem is the wrong tooltip!!
>

-- 
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