QCustomPlot Discussion and Comments

can't use default QCustomPlot xAxis or yAxisReturn to overview

Hello,

I try to use the QCustomplot.
I followed the tutorial but it doesn't work.
I got the error: can't use default QCustomPlot xAxis or yAxis

Does anybody know how i can solve this?

Thijs

the full error: can't use default QCustomPlot xAxis or yAxis, because at least one is invalid (has been deleted)

I got the same error and fixed it. Just rename the widget that you added to your mainwindow.ui with name of the pointer that you created. For example, if you defined a pointer as below,

QCustomPlot customPlot;

In this case your widget must be named as "customPlot".