From: David G. <dav...@ob...> - 2002-08-19 10:43:12
|
On Tuesday 13 August 2002 10:42 am, vik wrote: > I've been thinking about implementing scrollbars in jfreechart; I see > the underlying problem in that the chart (and axes etc) are drawn on a > graphics object rather than a normal window. What do you think of the > idea of putting some scrollbars (not a scrollpane) in, and when the > scrollbars are moved, to re-draw the graph with the new boundaries? > One problem (well, more of an inconvenience) would be that the > scrollbars would have to be outside of the axes (and axis labels); I'd > prefer the scrollbars being directly on the axes. > > do u think this would work? I think the Graphics2D approach rules out regular scroll bars. The other= =20 approach is to simulate a scroll bar by drawing some custom controls as p= art=20 of the axis...it's not ideal, but that's the only way I think it can be m= ade=20 to work. Regards, DG. |