QCustomPlot Discussion and Comments

how to connect two points in order?Return to overview

I need connect the following points one by one A->B->C->D->E->F->G.
A 0 0
B 0.00813791 0.00479165
C 0.00879132 0.100852
D -0.0114644 0.101308
E -0.0118208 0.0451782
F -0.0150284 0.00638885
G -0.000475207 0.00136904

I use addData() method and lsLine line style. But in fact , the points are showed in graph with order F->E->D->G->A->B->C. The sequences is ordered by x axis. How can I do to achieve my goal?

you probably want to use QCPCurve.