[visualization-api] Re: HTML Tooltip Position in scatter chart

2015-08-13 Thread Shravan Kumar
Do you know how can I extend this to a Sankey diagram? I did change the element name to my sankey div; but it does not seem to work for that. On Thursday, 7 August 2014 02:22:34 UTC-7, Ishwar wrote: Thanks a lot @Andrew, it worked like a charm var chart = new

[visualization-api] Re: HTML Tooltip Position in scatter chart

2014-08-07 Thread Ishwar
Thanks a lot @Andrew, it worked like a charm var chart = new google.visualization.ScatterChart(document.getElementById('chart_div')); google.visualization.events.addOneTimeListener(chart, 'ready', function () { var container = document.querySelector('#chart_div div:last-child');

[visualization-api] Re: HTML Tooltip Position in scatter chart

2014-08-06 Thread Andrew Gallant
Controlling the position of the tooltip is not easy. I wrote up an answer on StackOverflow that attempts to do this: http://stackoverflow.com/questions/24795432/how-to-change-pop-up-location-of-google-charts-tooltip/24807496#24807496 It may be easier to turn off the API's tooltips and use