hi,
i want to print some text above data point in XYLine Chart.
is it possible??
Thanks,
-AK
Item label in XY line chart
Re: Item label in XY line chart
Hi,
So far 93 people have viewed this post ... no answers/reply yet
)
guess it is not possible.
TIA,
-AK.
So far 93 people have viewed this post ... no answers/reply yet

guess it is not possible.
TIA,
-AK.
You mean an annotation?
Maybe this will help you :
Look the addAnnotation method
I'm using it in my code:
Maybe this will help you :
Look the addAnnotation method
I'm using it in my code:
Code: Select all
public void setNewTextAnnotation( String text, Point2D point)
{
XYTextAnnotation xyTextAnnotation = new XYTextAnnotation (text,point.getX(),point.getY());
((XYPlot)this.plot).addAnnotation(xyTextAnnotation);
}