QML charts api
Hi everyone. I’m interested if someone is working on a qml charts api. I’m asking because I might help him. If not I will start working on one.
14 replies
I am also interested in qml charts api. One thing I haven’t done it clear is whether it is worthy to invest time in extending qml elements with C++.
The current paint model in qml is based on QGraphicsView, which may replaced by the graphscene in the future. The question is if this is true, then what’s gonna happen to previously extended-user-custom qml elements?
Hi there,
there is a way to make charts with the QML Canvas modul (link [qt.gitorious.org]), but its not the easiest way. So a charts api would be really nice!
Much luck, if you wanna do that
lynardo
The current paint model in qml is based on QGraphicsView, which may replaced by the graphscene in the future. The question is if this is true, then what’s gonna happen to previously extended-user-custom qml elements?
You’ll almost certainly need to port them. We’ll try to make porting a QDeclarativeItem subclass to the scene graph as painless as possible (for example, we might try to offer an item that allows QPainter-based painting, which is cached to a pixmap). For something with lots of drawing (like graphing), it may be to your advantage to rewrite those bits when the time comes, to take advantage of the performance boosts that scenegraph should provide.
Regards,
Michael
I have a reasonable Qt Charting component already and I am looking at adding QML support to it soon. See this thread [developer.qt.nokia.com]
I have a reasonable Qt Charting component already and I am looking at adding QML support to it soon. See this thread [developer.qt.nokia.com]
Very nice job, it really looks great..
You must log in to post a reply. Not a member yet? Register here!






