Charts paint thru on a JScrollPane

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

Charts paint thru on a JScrollPane

Post by Dogbert » Wed Oct 03, 2001 3:00 pm

I'm putting four time series charts on a JScrollPane to monitor the
resources of our server. When the charts are scrolled off the window
they sometimes paint on top of other controls.

Is there something special I'm supposed to do to keep them clipping
correctly? Or is there something I can do so they can be sized down
vertically to something more manageable?

Yes, it's a slick package....

Thanks in advance,
Dogbert

Dogbert

RE: Charts paint thru on a JScrollPane

Post by Dogbert » Thu Oct 04, 2001 2:15 pm

I figured out how to not require a JScrollPane. I got rid of all of the GridBagLayouts in the parentage hierarchy so the chart's preferred and minimum sizes don't come into play. These charts don't play well in a grid bag (my favorite layout manager).

Dogbert

Locked