drag zoom - outline vs shade block

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Paul Belleville
Posts: 15
Joined: Wed Nov 07, 2007 6:20 pm

drag zoom - outline vs shade block

Post by Paul Belleville » Tue Jun 16, 2009 7:12 pm

I have recently upgraded from 1.0.9 to 1.0.13.
I noticed when you use the mouse drag to zoom in on the chart, it used to be an outline box showing the zoom area.
Now it is a shaded rectangle region as I drag to zoom. Is there a way to change that back to the outline rectangle?

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

Re: drag zoom - outline vs shade block

Post by david.gilbert » Tue Jun 16, 2009 9:16 pm

In the ChartPanel class, you can call setFillZoomRectangle(false).
David Gilbert
JFreeChart Project Leader

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

Locked