From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

how could i plot more than one line in a xy chart

With the following code i plot one line how could i Plot more than on line?

m_diagramm.ClearData();
m_diagramm.ChartLength=1000;
CNiReal64Matrix dataxy(2,mysize);
m_diagramm.ChartXY(dataxy);
0 Kudos
Message 1 of 2
(2,665 Views)
Add another plot to the plots collection and call ChartXY (or whichever method is appropriate) on the new plot.

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