Qt 6.11 is out! See what's new in the release
blog
QCustomPlot set name to a legend, like series set name on QChart
-
Im triying to pass QCustomPlot from Qt Chart.
In qt charts, there is a setname function on qline series and with the help of this we have some legends on the screen.
In qcustomplot, how it is made?
Is there anything like series?I will be very happy, if someone help.
-
Im triying to pass QCustomPlot from Qt Chart.
In qt charts, there is a setname function on qline series and with the help of this we have some legends on the screen.
In qcustomplot, how it is made?
Is there anything like series?I will be very happy, if someone help.
@firsnur96
Did you try Googling forQCustomPlot legendorQCustomPlot series? -
Hi
https://www.qcustomplot.com/documentation/
Plot Legend section.you access it like
ui->customPlot->legend->setVisible(true);