Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
Posted - 08 Aug 2008 : 10:20:41 I can't seem to find the documentation for this class.
1 L A T E S T R E P L I E S (Newest First)
Posted - 08 Aug 2008 : 11:23:34 There isn't any specific documentation about the RTControlScrollBar in the QCRTGraphJavaManual.pdf manual. It's parameters and use are exactly the same as the RTControlTrackBar, which is in the manual. The documentation for RTControlScrollBar is found in the javadoc documentation supplied with the software. The javadoc documentation is accessed from an IDE (Eclipse) following the directions in Chapter 18 of the QCRTGraph manual. Demo programs that demonstrate the use of RTControlScrollBar are polygraph and processmonitoring.
Unless you want to print the controls, you probably don't need to even use the RTControlScrollBar controls. Just use the standard, and simpler, Java Swing JScrollBar. See the QCChart2D examples SwingExamples.LinePlotScrollBar, and SwingExamples.FinOHLCPlot examples. Both example demonstrate how to "pan" a graph using a JScrollBar.