is there a way to make the chart grow with more data?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
clam61
Posts: 66
Joined: Tue Jul 03, 2007 9:59 pm

is there a way to make the chart grow with more data?

Post by clam61 » Sat Jul 14, 2007 6:04 am

s there a way to let the chart grow in size as more data is added, instead of automatically scaling?

imagine the memoryusage demo growing in size horizontally.

i want to put this type of chart within a scrollpane.

MNusinov
Posts: 15
Joined: Tue Jul 03, 2007 7:41 pm

Post by MNusinov » Mon Jul 16, 2007 2:44 pm

I would also like to know if this can be done, specifically in the vertical direction.

Presently, however it doesn't seem possible. There has been some discussion on this here and here. However I can't get either of these to work.

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 11:44 am

JFreeChart never determines the chart size, it always takes the area given to it and draws the best chart it can within that space.
David Gilbert
JFreeChart Project Leader

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

Locked