URGENT: Placing a label in the CategoryPlot for shapes

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
snkm007
Posts: 24
Joined: Tue Oct 16, 2007 1:52 pm

URGENT: Placing a label in the CategoryPlot for shapes

Post by snkm007 » Fri Nov 16, 2007 9:48 am

Hello,

I need to place a label adjacent to the shapes, say, triangle and circle in in the CategoryPlot . The shapes lie in the same line and are connected by the CategoryLineAnnotation annotation in the plot.

CategoryTextAnnotation takes a double argument for the y-co-ordinate and I've a String instance as the coordinate in the y-axis.

How do I accomodate the String label in the plot? Please help.

Thanks,
SNK

Locked