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.
|