Well I am currently designing an interface for an acquistion system. Thus I would like to display a waveform in real time. However, I acquire up to 400 000 points which can obviously not all be displayed on screen. I thus have to resample my signal and in order to display a maximum number of point without overlaying points, I need to know how many point the graph can display. What I did so far and it could be acceptabl is to return the size of my window with : GetClientRect(&myrect), then take the percentage of that space occupied by the grid part of the CNiGraph control.
Voila,
any thoughts?
Thanks,
Philippe