Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

CWGraph scrolling

Solved!
Go to solution

Colleagues,

Does anyone know how to scroll the CWGraph control?  Here's the behavior I want to achieve:

1. The graph's X axis spans from 0 to 3000.  In the beginning, it's charting a baseline (using ChartY method).
2. Let's say, it charted to 2500, when the user initiates an experiment.
3. Graph immediately scrolls left leaving only the last 500 points of the baseline - this is the part I don't know how to do.  The rest can be discarded.
4. Plotting of the experiment continues from 500 onward.

Could anybody give me some suggestions?

Thanks,
- Nick

P.S.  I'm using VB6 and Measurement Studio 8.1.11.


Below is the same behavior on a storyboard:


Storyboard

0 Kudos
Message 1 of 2
(6,966 Views)
Solution
Accepted by topic author Nick_Alexeev

Hi Nick,

 

One way to do this would be to set the axis lower bound to the current x position - 500 and set the upper bound to the lower bound + 3000.  If your question is regarding the implementation or if you have other questions,let me know so I can continue helping you!

Al B.
Staff Software Engineer - TestStand
CTA/CLD
0 Kudos
Message 2 of 2
(6,927 Views)