How to delete space at the start and end of a Time Chart ?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
zinZ
Posts: 19
Joined: Mon Jul 09, 2007 2:18 pm

How to delete space at the start and end of a Time Chart ?

Post by zinZ » Mon Jul 16, 2007 10:57 am

Hello,

I use a TimeSeriesChart, but the curve doesn't start at the beginning of the plot and finnish before the end.

I want to delete those tow spaces, how can I do.

Thank you.

zinZ
Posts: 19
Joined: Mon Jul 09, 2007 2:18 pm

Post by zinZ » Tue Jul 17, 2007 9:58 am

Please, could somebody help me ?

Or maybe my post is not clear?

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Tue Jul 17, 2007 10:20 am

In the date axis, call setLowerMargin(0.0) and setUpperMargin(0.0).
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked