Introducing the class for drawing charts.
This class includes a drawing histogram, pies and pseudo 3D pies.
It has very simple API and high level usability.
Licensed under LGPL 2.1
void MainWindow::paintEvent(QPaintEvent e*)
Updated : remove memory leak;
Initial angle can be set. so if you change it you can achieve the effect of motion of pie on its axis.
var : palpha = ;
Updated : Now the vertical legend has its own coordinates.
Use Nightcharts::setLegendCords(double x,double y);
Also changed rendering 3d Pie by removing the black frame. His screenshot was updated.
Updated : Added new option : Nightcharts::setShadows(bool);
Also changed rendering histogram and normal pie. Screenshots was updated.
Updated(2010/09/16) : Now when you create object does not need to pass QPainter; it is transmitted only in the methods draw/drawLegend. Also removed all memory leaks.
Updated(2015/04/01) : Posted code to github and soon there will be two new types of charts
Write about found bugs please