Vertical CategoryLineAnnotation line in a HORIZONTAL PLOT

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

Vertical CategoryLineAnnotation line in a HORIZONTAL PLOT

Post by snkm007 » Thu Nov 15, 2007 8:27 am

Hello,

I've a HORIZONTAL plot for my chart that uses CategoryDataSet and CategoryLineAnnotation. Although I can add a line annotation to the plot, it can only appear as a HORIZONTAL line on the plot, I need to have a vertical annotation line in the HORIZONTAL plot to represent Today's date in the domain axis (x-axis).

Any pointers in this regard, David& Co?

Thanks,
SNK

Aniket_kedari
Posts: 17
Joined: Tue Jun 24, 2008 3:03 am

Post by Aniket_kedari » Thu Aug 14, 2008 2:56 am

Hi snkm007,
I am using IntervalCategoryDataset and CategoryLineAnnotation.
May I know how you succeded in drawing horizontal line on your graph.
I am developing a gantt chart with time values on x-axis and task names on Y-axis.
It would be very helpful if you provide the code sniplet.

Locked