Open GoogleCodeExporter opened 9 years ago
Seems like a good idea. Couple of ways to workaround to get same effect.
You can use setAnnotationXShift and setAnnotationYShift to explicitly position
the annotations starting from some convenient starting point.
But a trickier but easier approach would be to set the widthUpperBound
parameter on setAnnotationText or setAnnotationWidget to 0:
getCurve().getPoint().setAnnotationText("The Annotation", 0, GChart.NAI);
getCurve().getPoint().setAnnotationLocation(AnnotationLocation.WEST);
Setting the widthupperbound to 0 will force the annotation to extrude to the
right of the attachment point (centered on the left edge) which should give you
the effect you are after of inside-left. You may still need to use
setAnnotationXShift to tweak the position a few pixels.
Original comment by gchartco...@gmail.com
on 19 Jun 2010 at 3:40
That works great! Thank you so much.
Original comment by Atlantic...@gmail.com
on 14 Aug 2010 at 11:17
Original comment by gchartco...@gmail.com
on 29 Aug 2010 at 10:00
Original issue reported on code.google.com by
Atlantic...@gmail.com
on 15 Jun 2010 at 2:02