You can use any kind of scrollbar that you want. Our RTControlTrackbar is derived from the standard .Net trackbar, where we have adding floating point support for the the trackbar ranges, but you can use any of the other .Net scrollbars. The logic is the same. You use the scrollbar value to determine the starting value of the charts coordinate system.
If you want to scroll back through the data you MUST stop the automatic forward scrolling of the data, controled by timer1 in the Polygraph example. You do NOT need to stop the accumulation of data values taking place using timer2. That way when you turn back on the automatic forward scrolling, the graph will display all of the data values that were collected while you were looking at the previously collected data. In the Polygraph example just comment out the timer2.Enable = false line in the selector_Button_Click method. This way data collection will continue, even if the automatic update of the display is turned off.
See the example programs Dynamometer and Treadmill for printing examples. Chapter 22 in the QCChart2dManual.pdf documentation discusses printing. If you want us to add printing to this specific example, contact our services department at sales@quinn-curtis.com and they will send you a quote.
private void selector_Button_Click(object sender, System.EventArgs e)
{
RTControlButton button = (RTControlButton) sender;
if (button == StartButton)
{
timer1.Enabled = true;
timer2.Enabled = true;
SetScrollFrameEnable(ChartObj.OBJECT_ENABLE);
}
else if (button == StopButton)
{
timer1.Enabled = false;
// timer2.Enabled = false;
.
.
.