XYTextAnnotation... how to get Y value?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
theAnonymous
Posts: 11
Joined: Tue Feb 22, 2011 8:15 pm
antibot: No, of course not.

XYTextAnnotation... how to get Y value?

Post by theAnonymous » Sat Apr 23, 2011 9:44 pm

hello, i have a TimeSeries data set and am plotting on a XYPlot.

it is possible for me to get the x value by using the day.getMiddileMillisecond() method.

how do i get the y value, so that i can put the annotation on the line?

plus, how do i draw a point to mark a specific point on the chart (followed by the text)?

thanks.

Locked