Horizontal Axis

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Patrick

Horizontal Axis

Post by Patrick » Wed May 23, 2001 4:24 pm

Hi all,

Can anybody tell me how I could go about replacing the legend
for the horizontal axis with the actual values below the line?
I am using JFreeChart for purposes where I need varied values
along the X-axis (up to 1000) and this becomes confusing with
the coloured legend.Also the legend goes off the screen after
the value of the X-axis > 30.What I'm after basically,is to
get a replication of the Vertical axis operation on the horizontal
axis.Can anyone assist?

David Gilbert

RE: Horizontal Axis

Post by David Gilbert » Wed May 30, 2001 12:47 am

Hi Patrick,

I'm not sure I understand your question, but it sounds like you need a numerical X-axis...but for bar plots, JFreeChart only supports categories on the X-axis. It would be possible to implement a bar plot based on purely numerical data, but this hasn't been done yet.

Regards,

DG.

Locked