February 10, 2011

2beers 2beers
Lab Rat
149 posts

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

February 10, 2011

geronik geronik
Lab Rat
55 posts

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?

February 10, 2011

2beers 2beers
Lab Rat
149 posts

it’s a good question geronik. hope we get some official response, cause I wouldn’t want to work and then to be forced to start over

February 13, 2011

lynardo lynardo
Lab Rat
8 posts

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

 Signature 

What a nice world it could be if we all had Google…
Oh, Yes I remeber, we all had Google

February 13, 2011

Andre Andre
Area 51 Engineer
6076 posts

Wouldn’t it make sense to wrap an existing qt charts library for use with QML? No need to re-do the actual chart rendering, is there?

 Signature 

Looking for Qt developers to join our team @ i-Optics: https://qt-project.org/forums/viewthread/25393/

February 13, 2011

2beers 2beers
Lab Rat
149 posts

yea. but I was thinking to make it with some animated transitions and some eye-candy :D

Andre wrote:
Wouldn’t it make sense to wrap an existing qt charts library for use with QML? No need to re-do the actual chart rendering, is there?

February 13, 2011

Andre Andre
Area 51 Engineer
6076 posts

OK, best of luck then!

 Signature 

Looking for Qt developers to join our team @ i-Optics: https://qt-project.org/forums/viewthread/25393/

February 15, 2011

mbrasser mbrasser
Ant Farmer
452 posts
geronik wrote:
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

February 27, 2011

jimknopf jimknopf
Lab Rat
2 posts

hi 2beers,
have you made any progress in writing a QML charting component? I’d be interested in seeing this happen and would be happy to help…

February 27, 2011

2beers 2beers
Lab Rat
149 posts

I postponed my project until qml scene graph is released.

jimknopf wrote:
hi 2beers, have you made any progress in writing a QML charting component? I’d be interested in seeing this happen and would be happy to help…

March 3, 2011

geronik geronik
Lab Rat
55 posts

Waiting for scene graph.. and how long is that? Scene graph porting could be not such a difficult task, and I suppose Trolls will do it quite easy for us. I am in for the graph charts api..

March 3, 2011

2beers 2beers
Lab Rat
149 posts

don’t know how long it will take until scene graph is ready, but you are free to start the charts project

geronik wrote:
Waiting for scene graph.. and how long is that? Scene graph porting could be not such a difficult task, and I suppose Trolls will do it quite easy for us. I am in for the graph charts api..

March 3, 2011

ZapB ZapB
Robot Herder
1359 posts

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]

 Signature 

Nokia Certified Qt Specialist
Interested in hearing about Qt related work

March 4, 2011

geronik geronik
Lab Rat
55 posts
ZapB wrote:
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..

March 4, 2011

ZapB ZapB
Robot Herder
1359 posts
geronik wrote:
Very nice job, it really looks great..

Thank you. Is there anything missing from what I have shown that would be useful to you in a charting component?

I am still thinking about how to add various levels of interactivity to the plots.

 Signature 

Nokia Certified Qt Specialist
Interested in hearing about Qt related work

 
  ‹‹ [closed] urgent help needed      [solved] StringList as model for GridView ››

You must log in to post a reply. Not a member yet? Register here!