PDA

View Full Version : how qt to use ChartDirector?



yunpeng880
22nd April 2009, 08:51
can somebody tell me how qt to use ChartDirector?
thanks
hope have some examples

jpn
22nd April 2009, 09:52
Use it like any other C++ library. Add INCLUDEPATH and LIBS to the .pro file.

PS. Asking for examples in all questions is not appreciated here. A lot better way is to show what you've tried so far, so that we can guide you to the correct direction. It also shows that you're at least willing to try something yourself too.

yunpeng880
22nd April 2009, 10:23
Use it like any other C++ library. Add INCLUDEPATH and LIBS to the .pro file.

PS. Asking for examples in all questions is not appreciated here. A lot better way is to show what you've tried so far, so that we can guide you to the correct direction. It also shows that you're at least willing to try something yourself too.

i want to use it display data with chart format.thanks

jpn
22nd April 2009, 10:51
And what did you try so far? Did you try anything at all?

yunpeng880
23rd April 2009, 01:49
i want it to display data for image format.
for example
realtime data display for image format

jpn
23rd April 2009, 07:40
So what do you want from us? Step by step instructions how to take the library into use and example code snippets for how to write such charts?

yunpeng880
24th April 2009, 01:55
the chartdirector control have examples which use mfc
i want qt to use it like mfc use it.
but it have only mfc example,but do't have qt .so i do't know how to use it for qt?
use it like use qwt to display data for chart.
thanks