How do I set the number of ticks?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Post Reply
Balu Masti

How do I set the number of ticks?

Post by Balu Masti » Wed Aug 30, 2000 12:43 am

Hi Folks,
I am using an XYChart to draw time-versus-value plots.

1) How do I change the number of ticks on X-axis? Right now, the plot calculates it automatically I guess.

2) If I change the number of ticks on X-axis, how will it affect grid line drawing? Will grid lines be drawn only at those points where there are ticks? Can I control both tick marks and grid lines independently?

3) How do I change display x-axis tick values vertically (default is horizontal)?

Thanks,
-Balu

Balu Masti

RE: How do I set the number of ticks?

Post by Balu Masti » Wed Aug 30, 2000 1:42 am

Hi David,

Have you considered adding "zooming" feature to the plot? What I meant was the user selecting a region on the plot using the mouse in order to enlarge it.

Thanks,
-Balu

Post Reply