Margin in X axis

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

Margin in X axis

Post by Alexandre » Fri Aug 16, 2002 6:25 pm

Sorry for this begginer question, but I'm really stuck here.

My problem is simple:
I have a XY graph, and the X axis' type is HorizontalDateAxis. The last day of the graph is 08/15, and my horizontal tick unit is set to 1 day. When I plot it, the last day gets plotted, but the graph doesn't end there! Instead there is space for one more day in the grid. If the number of values in X are small, and the size of the chart is big, this empty space grows huge and is ugly to see.

I've serched and tried a lot of methods to solve this, but so far couldn't find any that can solve this. Any ideas?

Maybe is some kind of bug? Or was it just made to be that way?

David Gilbert

Re: Margin in X axis

Post by David Gilbert » Mon Aug 19, 2002 9:34 am

Can you e-mail a sample image to me?

Regards,

DG.

Locked