voidlabs / elycharts

Interactive Javascript (SVG|VML) Charting Library
http://elycharts.com
Other
10 stars 6 forks source link

tooltips overflow container width #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
jquery version: 1.6.2
raphael version: 1.5.2
elycharts version: 2.1.4

Tooltips always overflow the width of the container on the right-hand side. 
Hover far right of the chart in this example and watch the horizontal scrollbar 
expand:

http://jsfiddle.net/JehdF/18/

It looks like this problem might be fixed in the latest version of raphael - 
check out how the tooltips on this example slide back to the left when you 
hover on the right-hand side.

http://raphaeljs.com/analytics.html

I tried upgrading to raphael version 2, but that just broke a bunch of stuff in 
elycharts.

Original issue reported on code.google.com by m...@vanillaforums.com on 6 Oct 2011 at 1:29

GoogleCodeExporter commented 9 years ago
Hi Mark,

raphael does not support "tooltips" positioning and the example you pointed is 
simply an hardwired example where tooltip positioning is handled in example 
code.

I agree it would be a good enhancement for elycharts to better support tooltip 
positioning to stay inside the container.

Original comment by stefano....@gmail.com on 22 Nov 2011 at 8:55