PDA

View Full Version : Pie chart with Qwtplot



GG2013
3rd June 2013, 05:23
Hallo,
Could anybody provide a simple example code to draw a pie chart with Qwtplot? I know how to plot 2-D data with Qwtplot but I also need a pie representation.
Many thanks,

rawfool
3rd June 2013, 06:16
AFAIK, Pie-chart representation is not available in Qwt.
Have a look at NightCharts - http://qt-apps.org/content/show.php?content=132560

GG2013
4th June 2013, 01:43
AFAIK, Pie-chart representation is not available in Qwt.
Have a look at NightCharts - http://qt-apps.org/content/show.php?content=132560

That's fantastic! After fixing a few typo it works brilliant- just what I needed. I also got another http://harmattan-dev.nokia.com/docs/library/html/qt4/itemviews-chart.html..but nightcharts looks to have more options (bar/2D pie/3D pie) & a bit simpler (i.e less code in manwindow.cpp is required).
Thank you so much "rawfool".