Go to the documentation of this file.
   26 #ifndef __TERRALIB_MAPTOOLS_INTERNAL_CHART_H 
   27 #define __TERRALIB_MAPTOOLS_INTERNAL_CHART_H 
   30 #include "../color/RGBAColor.h" 
   70         Chart(
ChartType type, 
const std::vector<std::string>& properties, 
const std::vector<te::color::RGBAColor>& colors);
 
  155 #endif  // __TERRALIB_MAPTOOLS_INTERNAL_CHART_H 
  
 
void setMaxValue(double value)
 
std::size_t getContourWidth() const
 
void setSummary(const std::string &summary)
It gets the grouping summary. It is used only in case 1 to n.
 
void setAvoidConflicts(bool on)
 
std::size_t getWidth() const
 
void setPropertiesPos(const std::vector< size_t > &propPos)
 
std::size_t getBarWidth() const
 
double getMaxValue() const
 
bool getAvoidConflicts() const
 
void setVisibility(bool visible)
It sets the chart visibility.
 
std::size_t getHeight() const
 
void setColor(std::size_t i, const te::color::RGBAColor &color)
 
void setHeight(std::size_t height)
 
te::color::RGBAColor m_contourColor
The chart contour color.
 
void setContourWidth(std::size_t width)
 
void setBarWidth(std::size_t width)
 
ChartType
The chart types.
 
Chart(ChartType type, const std::vector< std::string > &properties)
It constructs a new Chart instance.
 
std::size_t m_barWidth
The bar width for char Bar type (in pixels).
 
std::vector< te::color::RGBAColor > m_colors
The color used to each property.
 
std::string m_summary
The summary used in case 1 to n.
 
Chart(ChartType type, const std::vector< std::string > &properties, const std::vector< te::color::RGBAColor > &colors)
It constructs a new Chart instance.
 
Enumerations of XML module.
 
bool isVisible() const
It gets the chart visibility.
 
This class represents the informations needed to build map charts.
 
const te::color::RGBAColor & getColor(std::size_t i) const
 
std::vector< std::string > m_properties
The property names that will be used to generate the chart.
 
const std::vector< std::string > & getProperties() const
 
const std::vector< size_t > & getPropertiesPos() const
 
const te::color::RGBAColor & getContourColor() const
 
bool m_avoidConflicts
A flag that indicates if conflicts must be avoided.
 
A helper class for 32-bit RGBA (Red-Green-Blue-Alpha channel) color.
 
std::string getSummary() const
It gets the grouping summary. It is used only in case 1 to n.
 
std::size_t m_contourWidth
The chart contour width (in pixels).
 
void setContourColor(const te::color::RGBAColor &color)
 
bool m_isVisible
A flag that indicates if the chart is visible.
 
Proxy configuration file for TerraView (see terraview_config.h).
 
std::size_t m_height
The chart height (in pixels).
 
double m_maxValue
The max value of the chart.
 
std::vector< size_t > m_propertiesPos
The properties position.
 
ChartType m_type
The chart type.
 
ChartType getType() const