QCustomPlot Discussion and Comments

QCustomPlot using QML?Return to overview

Before I had plotted Bar graph and real-time line graph with QCustomPlot using C++, How can I execute it using the QML?

Looking forward to your kind reply.

Best Regards,

you would need to create a class that is derived from QQuickPaintedItem. It would hold a pointer to a qcustomplot.

You would then implement the paint function and draw to the painter passed in.