Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:Win Xp
Description
After checking out from http://svn.codehaus.org/grails-plugins/grails-ofchart/tags/RELEASE_0_6 and trying the samples I found this annoying bug:
The tooltip in the Stacked Bar chart is misplaced.
e.g. in a:
You see the tooltip for the first stack until you are in the middle of the second one.
This is because of the default setting for Tooltips (PROXIMITY)
If you set the Tooltip to HOVER the problem is solved.
Maybe this should be outlined in the sample!
Bar.java
import jofc2.model.elements.Tooltip ... def STACKED_BAR = { def c = new Chart(new Date().toString()).setXAxis(new XAxis().setLabels("a", "b", "c", "d")); c.setTooltip(new Tooltip().setHover());
solves the problem!