QCustomPlot Discussion and Comments

QCustomplot problem with drawing linesReturn to overview

Hello, I have a problem that is on picture
http://skrinshoter.ru/s/150317/xmLIylMV?a

I want that line was normal. It's possible?

Use QCPCurve instead of QCPGraph
http://www.qcustomplot.com/documentation/classQCPCurve.html

Thank's.
I have another problem. I can't delete QCPCurve graph from myplot...

ui->widget->clearGraphs();
     ui->widget->clearPlottables();
 ui->widget->addGraph();
QCPCurve *curve = new QCPCurve(ui->widget->xAxis, ui->widget->yAxis);
     curve->setData(x,y);
ui->widget->setInteractions(QCP::iRangeDrag | QCP::iRangeZoom | QCP::iSelectPlottables);
     ui->widget->replot();

ui->widget->removePlottable(curve);

http://www.qcustomplot.com/documentation/classQCustomPlot.html#af3dafd56884208474f311d6226513ab2

thank's )