Results 1 to 20 of 22

Thread: Qt Charts API: create static and animating charts for your application

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2010
    Posts
    4
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Exclamation Re: Qt Charts API: create static and animating charts for your application

    No we are not !

    Sorry, I havn't enable email notification.. So I didn't see any update! But Now I am here!

    First :
    I have created a repository on gitorious : http://gitorious.org/qtcharts. Please Join the qtcharts team !!

    second :
    API architecture :

    I propose to create 3 sub project :

    - 1 : QPainter Layer : draw all sharts from a QPainter
    - 2 : QGraphicsItem : Create each sharts item using QPainter layer
    - 3 : QChartData : Provide data to be load


    class tree example :

    QChartPainter
    -QLineChartPainter
    -QPieChartPainter


    QGraphicsChartItem
    -QGraphicsLineChartItem
    -QGraphicsPieChartItem





    Discussion

    We have to speak together about qtcharts! So, please join #qtcharts on freenode!
    If there is nobody, please wait !

    So, now, I m waiting for your suggestion about the API architecture ? What about animation ? Interaction ? QML ?

  2. #2
    Join Date
    Aug 2009
    Location
    Belgium
    Posts
    310
    Thanks
    10
    Thanked 31 Times in 25 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt Charts API: create static and animating charts for your application

    Can't find any qtcharts on freenode. Anyway :

    Data :
    - what data can you handle : integer / double values, labels, min/max indicators, complex values, quaternions, ...
    - do you use a model-view approach or not ?
    - will you have only 1 data series, or more (multiple lines in your graph)

    Display :
    - are you going to make different display classes for the qpainter and qgraphicsview ? Will be difficult to make sure they look the same. QGraphicsview is not required for just showing graphs, but is sure is handy for interactive graphs (selecting data points, pie slices, ...)
    - are you going to stick to line charts and pie charts ? or also bar graphs, coloured maps, ...

    Classes :
    - I would make a 'QtCharts' object that can hold any kind of data, for 1 or more data 'lines', and also additional data like labels, min/max values, .... This object could then be painted by the painter classes, be it either pie or line.

    Regards,
    Marc

Similar Threads

  1. Charts in Qt!!
    By rachana in forum Qt Programming
    Replies: 3
    Last Post: 6th May 2011, 06:10
  2. Help with Bar charts
    By romeo in forum Qwt
    Replies: 0
    Last Post: 30th June 2010, 16:58
  3. could qt use ILOG JViews Charts?
    By yunpeng880 in forum Qt Programming
    Replies: 0
    Last Post: 6th May 2009, 09:16
  4. drawing math charts
    By bisz in forum Newbie
    Replies: 3
    Last Post: 18th October 2007, 10:17
  5. MVC charts for Qt4
    By wysota in forum Qt-based Software
    Replies: 8
    Last Post: 28th September 2006, 16:06

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.