View Full Version : Simple example of pie with Qwt needed

19th November 2007, 09:11
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?


19th November 2007, 11:16
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.


19th November 2007, 11:41
Ok Uwe, I'll follow your suggestion and read examples/itemviews/chart.