QCustomPlot Discussion and Comments

Change color of label of QCusotmPlotReturn to overview

I am doing this :

ui.custplot->xAxis->setLabel("Some Label");

How can i change the label color ?

example:
I changed background to black and all labels, ticks to white.

    customPlot->setBackground(QBrush(Qt::black));
    customPlot->xAxis->setTickLabelColor(Qt::white);
    customPlot->xAxis->setBasePen(QPen(Qt::white));
    customPlot->xAxis->setLabelColor(Qt::white);
    customPlot->xAxis->setTickPen(QPen(Qt::white));
    customPlot->xAxis->setSubTickPen(QPen(Qt::white));

The same for yAxis. Hipe you'll find there the answer.

The documentation is very helpful for finding new functionality.

How about setLabelColor?

Thank you

Thank You