What would you like the tooltips to look like?

On Thursday, July 18, 2013 5:39:42 AM UTC-4, Sikker Trafik wrote:
>
> Hi
>
> I have a problem, when I'm trying to make the tooltip in a column chart to 
> show more than just the data it is drawn from. 
> I have tried writing in tooltips different places in the script, but I 
> can't figure out how. 
>
> What I'm trying to do is to have the tooltip showing both the second and 
> third column from my Google Spreadsheet but still only using the first and 
> second column to draw the chart. The chart looks like this right know:
>
>
>
> <https://lh3.googleusercontent.com/-YhPb-lsyNxI/Uee3shadoiI/AAAAAAAAAAo/f2oBTGNWWEs/s1600/Column+chart.png>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> My script is this:
>
> <script type="text/javascript" src="//
> ajax.googleapis.com/ajax/static/modules/gviz/1.0/chart.js"> 
> {"dataSourceUrl":"//
> docs.google.com/spreadsheet/tq?key=0Am7E06r_2i5edGMtSXRsdEVRVHcyRmVOVkpnNFpCdHc&transpose=0&headers=0&range=A42%3AC51&gid=0&pub=1","options":{"chartArea":{"left":40,"top":40,"width":"390","height":"75%"},"series":{"0":{"color":"#9900ff"}},"reverseCategories":false,"backgroundColor":"#f3f3f3","width":455,"logScale":false,"hAxis":{"maxAlternations":1},"hasLabelsColumn":true,"vAxes":[{"title":"","minValue":null,"viewWindowMode":"explicit","gridlines":{"count":"6"},"viewWindow":{"min":0,"max":100},"maxValue":100},{"viewWindowMode":"pretty","viewWindow":{}}],"title":"Antal
>  
> dræbte i spritulykker 
> 2003-2012","height":300,"legend":"none","reverseAxis":false,"isStacked":false},"state":{},"view":"{\"columns\":[0,1]}","chartType":"ColumnChart","chartName":"Antal
>  
> dræbte i spritulykker 2003-2012"} </script>
>
> Hope someone can help me.
> Thank you
>

-- 
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/groups/opt_out.


Reply via email to