T O P I C R E V I E W |
KnightHawk |
Posted - 29 Apr 2008 : 17:44:47 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? |
1 L A T E S T R E P L I E S (Newest First) |
quinncurtis |
Posted - 29 Apr 2008 : 21:45:03 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. |
|
|