How to draw axis at C++ side, render in QML?
Unsolved
QML and Qt Quick
-
Hi,
In my codes there's a C++ classmyClass
which inherits fromQQuickItem
class, I registermyClass
as qml type and render in QML:qmlRegisterType<myClass>("myClass", 1, 0, "myClass");
import myClass1.0 myClass{ id: myClassId }
I have used the QSG node in
myClass
to draw some real time curves, and now I would like to add axis for those curves. Is it possible to add axis at C++ side, and to render at QML side?Thank you in adavnce!