Re: Area and Line Chart tooltip displaced position

393 views
Skip to first unread message

asgallant

unread,
Dec 9, 2012, 2:06:56 PM12/9/12
to google-visua...@googlegroups.com
I'm not 100% sure why that is happening here (it seems to affect Line and Area charts, but not Column charts).  The way around it is to wrap the chart div in a container div, and put the scrolling on the container.  See a working example here: http://jsfiddle.net/asgallant/TdNqq/

I have to ask, though, why are you scrolling the chart at all?  There is an easier way to pan and scan the data set, using a ChartRangeFilter.

On Sunday, December 9, 2012 11:35:52 AM UTC-5, Václav Nováček wrote:
Hi!
When I using Area or Line Chart on scrolled div, value tooltip appears on displaced position. Shift of tooltip is dependent to scrollbar position.

Thanks for fix.
Reply all
Reply to author
Forward
0 new messages