Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Tools for Java
 QCRTGraph for Java
 Y-Axis Scrolling Graph
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

KnightHawk

23 Posts

Posted - 29 Apr 2008 :  17:44:47  Show Profile  Reply with Quote
Is there any example, or any way to have the y-axis scroll and the x-axis remains fixed, like rotating the whole graph 90 degrees. So the new y-axis (old x-axis) is scrolling up, and the new x-axis (old y-axis) is scaling for the new data?

In other words, is there a way to have the independant variable is now located on the vertical-axis, and the dependant variable is located on the horizontal-axis?

quinncurtis

1558 Posts

Posted - 29 Apr 2008 :  21:45:03  Show Profile  Reply with Quote
Sorry, but the RTScrollFrame does not implement a scrolling y-axis.

Also, only the x-axis can be a time axis. If your application uses a simple CartesianCoordinate system, with a numeric y-axis, you can always just rescale the y-axis your self.

See the SwingExamples.LinePlotScrollBar example. That example pans the x-scale and axis, but the same concept can be applie to the y-scale and axis.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07