Search found 6 matches

by Rachel M
Fri Sep 01, 2006 11:49 pm
Forum: JFreeChart
Topic: How do I force a buffered ChartPanel to redraw ?
Replies: 4
Views: 7224

OK seems like out of all the things I tried (including just a repaint() ) the only thing that really worked was doing setNotify(false) before any plot-rearranging and then setNotify(true) afterwards.

Thanks!
by Rachel M
Fri Sep 01, 2006 5:52 pm
Forum: JFreeChart
Topic: How do I force a buffered ChartPanel to redraw ?
Replies: 4
Views: 7224

Thanks for replying. I'm only directly using one thread... the user makes a selection about what they want to plot, and I read it in and make the appropriate changes to my chart with calls to setAxis, setTitle, etc, and then fire off those AxisChangeEvents, etc, on the same thread. Do I need to crea...
by Rachel M
Fri Sep 01, 2006 4:58 pm
Forum: JFreeChart
Topic: How do I force a buffered ChartPanel to redraw ?
Replies: 4
Views: 7224

How do I force a buffered ChartPanel to redraw ?

Hi, I switched from using a non-buffered to a buffered ChartPanel and it seems like changes I make to the chart randomly get propagated or get thrown out. Just changing the constructor useBuffer parameter causes all of these changes. Each time I replot something different happens (I put an example o...
by Rachel M
Thu Aug 31, 2006 8:43 pm
Forum: JFreeChart
Topic: Slow redrawing of complicated charts, and popup menus
Replies: 13
Views: 28055

Hey, Any luck anyone? I just changed 2 things: 1) Make sure to use the ChartPanel constructor with the useBuffer parameter (set to True). It defaults to false, i was surprised to see. 2) Adding mouseClicked to my ChartPanel subclass and basically just taking out that call to setNotify. It seems a li...
by Rachel M
Mon Aug 28, 2006 3:33 pm
Forum: JFreeChart
Topic: Zooming on Logarithmic Axis
Replies: 2
Views: 4821

search for:
autoadjustrange logarithmicaxis

there's a post started by nclemeur
by Rachel M
Mon Sep 26, 2005 8:17 pm
Forum: JFreeChart
Topic: ChartPanel subclass cant access super's chartMouseListeners
Replies: 2
Views: 4366

ChartPanel subclass cant access super's chartMouseListeners

Hi, I made a subclass of ChartPanel to allow me to right-click select an area of the graph and do something with it. I wanted to use the chartMouseListeners to send the info to another class so it can respond to the selection, but they are only accessible from the superclass. I could pass in the oth...