QCustomPlot Discussion and Comments

Add legend text alignReturn to overview

Hi ;

I have qcustomplot graph. ( below url )

http://hizliresim.com/EradkA


I want to set align text. How to add legend center of graph.

what do you mean by the center of the graph?


I want to align the text. Text starts with graphics. I want to shift it towards the front

Answer :

QCPLayoutGrid *subLayout = new QCPLayoutGrid;
    ui->qcustom->plotLayout()->addElement(1, 0, subLayout);
    subLayout->setMargins(QMargins(37, 0, 12, 5));


http://hizliresim.com/ErvPyq