Scrollable graphs without axes

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

Scrollable graphs without axes

Post by John Reid » Fri Sep 13, 2002 2:05 pm

Hi,

I'm a bit new to JFreeChart but I think its a fantastic library.

Is there any way to let the user scroll a graph keeping the axes outside the scroll pane but in sync with the contents? I.e. in the same fashion that a JTable displays its header outside of the Scrollable area.

I'm also interested in using a Step graph with a TimeSeries X axis. I haven't quite figured out how to do that yet but I reckon I'll manage that one.

Thanks for a great library,

John.

David Gilbert

Re: Scrollable graphs without axes

Post by David Gilbert » Mon Sep 16, 2002 7:19 am

The scrolling you mention is not possible, and I think it would be difficult to implement.

For your other question, the XYStepChartDemo uses a horizontal date axis, if you need some sample code.

Regards,

DG.

Locked