This class represents the informations needed to build map charts.  
 More...
#include <Chart.h>
This class represents the informations needed to build map charts. 
- See also
 - AbstractLayer 
 
Definition at line 51 of file Chart.h.
 
◆ Chart() [1/2]
      
        
          | te::map::Chart::Chart  | 
          ( | 
          ChartType  | 
          type,  | 
        
        
           | 
           | 
          const std::vector< std::string > &  | 
          properties  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
It constructs a new Chart instance. 
- Parameters
 - 
  
    | type | The chart type.  | 
    | properties | The property names that will be used to generate the chart.  | 
  
   
 
 
◆ Chart() [2/2]
It constructs a new Chart instance. 
- Parameters
 - 
  
    | type | The chart type.  | 
    | properties | The property names that will be used to generate the chart.  | 
    | colors | The colors that will be used to represent each property.  | 
  
   
 
 
◆ ~Chart()
      
        
          | te::map::Chart::~Chart  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ clone()
      
        
          | Chart * te::map::Chart::clone  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ getAvoidConflicts()
      
        
          | bool te::map::Chart::getAvoidConflicts  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ getBarWidth()
      
        
          | std::size_t te::map::Chart::getBarWidth  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ getColor()
◆ getContourColor()
◆ getContourWidth()
      
        
          | std::size_t te::map::Chart::getContourWidth  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ getHeight()
      
        
          | std::size_t te::map::Chart::getHeight  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ getMaxValue()
      
        
          | double te::map::Chart::getMaxValue  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ getProperties()
      
        
          | const std::vector< std::string > & te::map::Chart::getProperties  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ getPropertiesPos()
      
        
          | const std::vector< size_t > & te::map::Chart::getPropertiesPos  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ getSummary()
      
        
          | std::string te::map::Chart::getSummary  | 
          ( | 
           | ) | 
           const | 
        
      
 
It gets the grouping summary. It is used only in case 1 to n. 
 
 
◆ getType()
◆ getWidth()
      
        
          | std::size_t te::map::Chart::getWidth  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ isVisible()
      
        
          | bool te::map::Chart::isVisible  | 
          ( | 
           | ) | 
           const | 
        
      
 
It gets the chart visibility. 
 
 
◆ setAvoidConflicts()
      
        
          | void te::map::Chart::setAvoidConflicts  | 
          ( | 
          bool  | 
          on | ) | 
           | 
        
      
 
 
◆ setBarWidth()
      
        
          | void te::map::Chart::setBarWidth  | 
          ( | 
          std::size_t  | 
          width | ) | 
           | 
        
      
 
 
◆ setColor()
◆ setContourColor()
◆ setContourWidth()
      
        
          | void te::map::Chart::setContourWidth  | 
          ( | 
          std::size_t  | 
          width | ) | 
           | 
        
      
 
 
◆ setHeight()
      
        
          | void te::map::Chart::setHeight  | 
          ( | 
          std::size_t  | 
          height | ) | 
           | 
        
      
 
 
◆ setMaxValue()
      
        
          | void te::map::Chart::setMaxValue  | 
          ( | 
          double  | 
          value | ) | 
           | 
        
      
 
 
◆ setPropertiesPos()
      
        
          | void te::map::Chart::setPropertiesPos  | 
          ( | 
          const std::vector< size_t > &  | 
          propPos | ) | 
           | 
        
      
 
 
◆ setSummary()
      
        
          | void te::map::Chart::setSummary  | 
          ( | 
          const std::string &  | 
          summary | ) | 
           | 
        
      
 
It gets the grouping summary. It is used only in case 1 to n. 
- Parameters
 - 
  
    | summary | The summary mode. It can be: "MIN", "MAX", "SUM", "AVERAGE", "MEDIAN", "STDDEV" or "VARIANCE"  | 
  
   
 
 
◆ setVisibility()
      
        
          | void te::map::Chart::setVisibility  | 
          ( | 
          bool  | 
          visible | ) | 
           | 
        
      
 
It sets the chart visibility. 
- Parameters
 - 
  
    | visible | The visibility value.  | 
  
   
 
 
◆ m_avoidConflicts
  
  
      
        
          | bool te::map::Chart::m_avoidConflicts | 
         
       
   | 
  
private   | 
  
 
A flag that indicates if conflicts must be avoided. 
Definition at line 148 of file Chart.h.
 
 
◆ m_barWidth
  
  
      
        
          | std::size_t te::map::Chart::m_barWidth | 
         
       
   | 
  
private   | 
  
 
The bar width for char Bar type (in pixels). 
Definition at line 145 of file Chart.h.
 
 
◆ m_colors
The color used to each property. 
Definition at line 141 of file Chart.h.
 
 
◆ m_contourColor
The chart contour color. 
Definition at line 142 of file Chart.h.
 
 
◆ m_contourWidth
  
  
      
        
          | std::size_t te::map::Chart::m_contourWidth | 
         
       
   | 
  
private   | 
  
 
The chart contour width (in pixels). 
Definition at line 143 of file Chart.h.
 
 
◆ m_height
  
  
      
        
          | std::size_t te::map::Chart::m_height | 
         
       
   | 
  
private   | 
  
 
The chart height (in pixels). 
Definition at line 144 of file Chart.h.
 
 
◆ m_isVisible
  
  
      
        
          | bool te::map::Chart::m_isVisible | 
         
       
   | 
  
private   | 
  
 
A flag that indicates if the chart is visible. 
Definition at line 146 of file Chart.h.
 
 
◆ m_maxValue
  
  
      
        
          | double te::map::Chart::m_maxValue | 
         
       
   | 
  
private   | 
  
 
The max value of the chart. 
Definition at line 147 of file Chart.h.
 
 
◆ m_properties
  
  
      
        
          | std::vector<std::string> te::map::Chart::m_properties | 
         
       
   | 
  
private   | 
  
 
The property names that will be used to generate the chart. 
Definition at line 139 of file Chart.h.
 
 
◆ m_propertiesPos
  
  
      
        
          | std::vector<size_t> te::map::Chart::m_propertiesPos | 
         
       
   | 
  
private   | 
  
 
The properties position. 
Definition at line 140 of file Chart.h.
 
 
◆ m_summary
  
  
      
        
          | std::string te::map::Chart::m_summary | 
         
       
   | 
  
private   | 
  
 
The summary used in case 1 to n. 
Definition at line 149 of file Chart.h.
 
 
◆ m_type
The chart type. 
Definition at line 138 of file Chart.h.
 
 
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/maptools/Chart.h