Link to home
Start Free TrialLog in
Avatar of rkpune
rkpuneFlag for India

asked on

help me to make a dynamic graph in picture box in a particular trend

help me to make a dynamic graph in picture box in a particular trend
i.e the graph should be running in a picture box like a sine wave
graph should start from left side of the picture box
Avatar of fds_fatboy
fds_fatboy

Do you mean a constantly moving graph similar to the Perfomance CPU history in the Windows Task Mangler?
Avatar of rkpune

ASKER

Yes, I want a constantly moving graph in picture box. Yes it should be like CPU History in Win Task manager. But I want it to be moving from left to right.
Thanks in anticipation
well, u have dynamic y- values -
what type of graph u need , curve or line ?
Avatar of rkpune

ASKER

I want both types of graphs.
Avatar of rkpune

ASKER

there is no answer till now
pls forward it asap
thanks
ASKER CERTIFIED SOLUTION
Avatar of fds_fatboy
fds_fatboy

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rkpune

ASKER

how to increase the width of the distance betbeen the graphs?
that is i want to make an irreregular graph
a graph like an ecg graph
Just change the

 i = Sin(0.1 * counter) * _
               (pHeightHalf - 1) + _
               pHeightHalf

to whatever you want it to be.

If you want to do an ecg looking thing then you'll need an array of values to set i to. Every timer event, set the value of i to the next value in your array. Every time you get to the end of the values, set i back to the first one.

I have no idea what should be in the array, I'm not a computer programmer, not a doctor.
>>I'm not a computer programmer, not a doctor

ha ha - did I really write that. Some people might say that its true. I should have said

"I'm a computer programmer, not a doctor."
Hello

Do you require anything else?