QCustomPlot Discussion and Comments

how to set our own graph name in to the legendReturn to overview

how to set our own graph name in to the legend.

try
graph->setName("your graph name");

 ui->qcustom->graph(0)->setPen(QPen(QColor(102, 51, 0)));
 ui->qcustom->graph(0)->setName("Max");

thank you Isso and Elif