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" 
   75           void setup(QImage* img);
 
   83           QImage* drawPies(
const te::map::Chart* chart, 
const std::map<std::string, double>& chartValue, std::size_t& width);
 
   86           QImage* drawBars(
const te::map::Chart* chart, 
const std::map<std::string, double>& chartValue, std::size_t& width);
 
   89           void getValues(
const te::map::Chart* chart, 
const std::map<std::string, double>& chartValue, std::vector<double>& values);
 
   91           double computeSum(
const std::vector<double>& values);
 
   93           double getMaxValue(
const std::vector<double>& values);
 
  108 #endif  // __TERRALIB_QT_WIDGETS_INTERNAL_CHARTRENDERER_H 
This is the base class for chart renderers. 
 
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. 
 
A helper class for 32-bit RGBA (Red-Green-Blue-Alpha channel) color.