Firstly, I parse xml file and after calculating points for plotting graph, i save those points to binary file so it can be easier to load them later without parsing xml again.
Problem is, that data can be added to plotting function as two vectors of doubles, one vector for x, other for y coordinate.
This is the function i use: void QCPGraph::addData ( const QVector< double > & keys, const QVector< double > & values ) from QCustomPlot library




Reply With Quote

Bookmarks