I'd like to plot a XY - Graph
pMessungGUI->m_xwerte[i];
and
pMessungGUI->m_ywerte[i];
are the sources of my data.
the data come from a rs232 and after each datapacket I do this pice of code. the First 300 Points works well but after 300 Points the CNiGraph doesn't plot it.
CNiReal64Matrix dataxy(2,pMessungGUI->m_wertepos);
for (i=0;i
m_wertepos;i++)
{
dataxy(1,i)=pMessungGUI->m_xwerte[i];
dataxy(0,i)=pMessungGUI->m_ywerte[i];
}
pMessungGUI->m_wertepos++;
pMessungGUI->m_graph_mess.ClearData();
pMessungGUI->m_graph_mess.ChartXY(dataxy);