Zooming rectangle gets distorted by plot update

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Sir Henry
Posts: 7
Joined: Mon Jun 26, 2006 3:29 pm

Zooming rectangle gets distorted by plot update

Post by Sir Henry » Mon Feb 12, 2007 4:18 pm

I remember having read a thread on the subject but I cannot find it anymore...

When the user drags a zooming rectangle on an XYPlot and the plot gets an update while the user is still dragging, the rectangle gets distorted in a strange way. It is partly redrawn and changes its shape to a sort of polyline. Has anyone else had this problem and perhaps found a solution?

Thanks in advance.
Cheers, Sir Henry

skunk
Posts: 1087
Joined: Thu Jun 02, 2005 10:14 pm
Location: Brisbane, Australia

Post by skunk » Mon Feb 12, 2007 4:51 pm


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 » Mon Feb 12, 2007 5:40 pm

skunk wrote:This thread perhaps?

http://www.jfree.org/phpBB2/viewtopic.php?t=9642
Does that modification improve things? I can't think of a situation where it would make things worse, but at the same time I haven't been able to put together an example where it improves things either.
David Gilbert
JFreeChart Project Leader

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

Sir Henry
Posts: 7
Joined: Mon Jun 26, 2006 3:29 pm

Post by Sir Henry » Tue Feb 13, 2007 9:05 am

Thanks for the link. I'll try it out and report the outcome. :)
Cheers, Sir Henry

Locked