This is a singleton for managing chart renderer instance available in the system.  
 More...
#include <ChartRendererManager.h>
This is a singleton for managing chart renderer instance available in the system. 
If you want to render a chart, use commands like:  te::color::RBGA** image = te::map::ChartRendererManager::getInstance().render(chart, dataset); 
- See also
 - AbstractChartRenderer, Chart 
 
Definition at line 61 of file ChartRendererManager.h.
 
  
  
      
        
          | te::map::ChartRendererManager::ChartRendererManager  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
It initializes the singleton instance of the chart renderer manager. 
 
 
  
  
      
        
          | te::map::ChartRendererManager::~ChartRendererManager  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
It returns a reference to the singleton instance. 
- Returns
 - A reference to the singleton instance. 
 
Definition at line 120 of file Singleton.h.
 
 
It generates the image pattern from the given chart and dataset. 
- Parameters
 - 
  
    | chart | The chart informations that will be used.  | 
    | dataset | The dataset that will be used.  | 
    | width | An output parameter that will be filled with the width of generated image pattern. | 
  
   
- Returns
 - The RGBA image that represents the chart.
 
- Note
 - The caller will take the ownership of the returned pointer.
 
- Exceptions
 - 
  
    | Exception | It will throws an exception if the image pattern can not be generated.  | 
  
   
 
 
      
        
          | te::color::RGBAColor** te::map::ChartRendererManager::render  | 
          ( | 
          const Chart *  | 
          chart,  | 
        
        
           | 
           | 
          const std::map< std::string, double > &  | 
          chartValue,  | 
        
        
           | 
           | 
          std::size_t &  | 
          width  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
It sets the chart renderer to the manager. 
- Parameters
 - 
  
    | renderer | The renderer that will be set. | 
  
   
- Note
 - The manager will take the owership of the given chart renderer. 
 
 
 
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/terralib5/src/terralib/maptools/ChartRendererManager.h