26 #ifndef __TERRALIB_QT_WIDGETS_INTERNAL_CHARTRENDERER_H
27 #define __TERRALIB_QT_WIDGETS_INTERNAL_CHARTRENDERER_H
30 #include "../../../maptools/AbstractChartRenderer.h"
31 #include "../Config.h"
34 #include <QtGui/QImage>
35 #include <QtGui/QPainter>
73 void setup(QImage* img);
86 double computeSum(
const std::vector<double>& values);
88 double getMaxValue(
const std::vector<double>& values);
103 #endif // __TERRALIB_QT_WIDGETS_INTERNAL_CHARTRENDERER_H
This is the base class for chart renderers.
#define TEQTWIDGETSEXPORT
You can use this macro in order to export/import classes and functions from this module.
QPen m_pen
The pen used to draw the chart.
QBrush m_brush
The pen used to draw the chart.
A concrete chart renderer based on Qt4.
A helper class for 32-bit RGBA (Red-Green-Blue-Alpha channel) color.
QPainter m_painter
The painter used to draw the chart.
This class represents the informations needed to build map charts.
A dataset is the unit of information manipulated by the data access module of TerraLib.