Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Plotting a single point & previous point

Hello.
I want to plot a single point & previous point
using CNiGraph class.

My code is as follows.
CNiGraph m_graph
................

for(int i=0;i<10;i++)
for(int j=0;j<10;j++)
m_graph.PlotXY(i,j);

After executing above routine,
I can get only one point.
This is rightly true.
But I want to get all the previous point one X-Y plot
without using CNiVector.
Could you give me a best solution?
I am happy if I get a best solution.
Thanks.
0 Kudos
Message 1 of 2
(2,593 Views)
Try ChartXY instead of PlotXY.

- Elton
0 Kudos
Message 2 of 2
(2,593 Views)