gavioto / clientsidegchart

Automatically exported from code.google.com/p/clientsidegchart
0 stars 2 forks source link

Under GXT: Annotations(Labels) not popping up correctly #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. view charts in gcharts
2. mouse-over a bar

What is the expected output? What do you see instead?
I expect the yellow labels to pop up with the actual number for that bar.
Instead, I get a transparent box sometimes.  Usually, nothing pops up. 

What version of the product are you using? On what operating system?
2.7 on Gwt 2.1.1 and Gxt 2.2.1 layouts

Please provide any additional information below.
1. This happens under several versions of Firefox and Chrome, on both Linux and 
Windows hosts.

In the attached file, see where the mouse pointer is vs where the annotation is.

Here's my code to add the label:

          chart.getCurve().getSymbol().setHovertextTemplate(headerData.get(iCurve + 1).isString().stringValue() + " = ${y}");

chart.getCurve().getPoint().setAnnotationLocation(AnnotationLocation.NORTHEAST);

Original issue reported on code.google.com by eli...@espoc.com on 11 Feb 2011 at 4:30

Attachments:

GoogleCodeExporter commented 9 years ago
Tried to downgrade to an older version of gchart.jar from November 2008, and 
the pop-ups work just fine.

Original comment by eli...@espoc.com on 11 Feb 2011 at 4:57