Results 1 to 3 of 3

Thread: Simple example of pie with Qwt needed

  1. #1
    Join Date
    Aug 2007
    Posts
    244
    Thanks
    42
    Thanked 8 Times in 8 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Simple example of pie with Qwt needed

    Hi,
    I want integrate a pie graph in stats section of my application. I'm using Qwt. The only example I found in docs is cpuplot but there the pie code is strictly dependent with that around.

    Can anyone show me the simplest way to make a pie?

    Thanks.
    Giuseppe CalÃ

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,311
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Simple example of pie with Qwt needed

    Qwt has no pie charts, because it is very different to information displayed on a canvas with x and y axes. Maybe I will add one some day to make Qwt more complete as a chart package, but it is not very high on my todo list.

    Qt comes with an example of a pie chart ( examples/itemviews/chart ) to demonstrate how their model/view design ( called Interview) can be used.
    But be careful: Interview was designed as a framework for item based widgets, displaying tables, lists or trees. Guess it is obvious, why this is not the best design for everything.

    Uwe

  3. #3
    Join Date
    Aug 2007
    Posts
    244
    Thanks
    42
    Thanked 8 Times in 8 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Simple example of pie with Qwt needed

    Ok Uwe, I'll follow your suggestion and read examples/itemviews/chart.

    Regards
    Giuseppe CalÃ

Similar Threads

  1. Replies: 4
    Last Post: 10th October 2009, 17:59
  2. QWT introduction
    By nitriles in forum Qwt
    Replies: 4
    Last Post: 28th September 2007, 10:48
  3. How to upgrade Qwt 5.0.1 to Qwt 5.0.2
    By luffy27 in forum Qwt
    Replies: 1
    Last Post: 15th July 2007, 19:55
  4. help needed regarding QWT
    By skatakam in forum Qwt
    Replies: 1
    Last Post: 21st March 2006, 12:47
  5. use interesting QWT Library with QT3.X
    By raphaelf in forum Qwt
    Replies: 2
    Last Post: 23rd January 2006, 11:24

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.