Re: Adding som kind of cursor in waveform chart



Hi,
Using a chart is nice to see history of incoming data but there is no cursor. You could use a graph instead.
Init an array with the right number of elements. You'll put the incoming data in it with replace array element.
It is not really nice because you would need to make some kind of "ring buffer": Each time you arrive at the
end of the array go back to the begining. It is easy when it is point by point. But with more data incoming,
you have to cut the data, etc. But at least there you have the cursors. (you also have to handle the X-axis
properties)
 
Dai
 
hope it helps...
.


Quantcast