#include <HistogramChart.h>
Definition at line 53 of file HistogramChart.h.
 
◆ HistogramChart()
Constructor. 
It constructs a histogram chart .
- Note
 - It will take the ownership of the pointer "data". 
 
- 
it will take the ownership of the pointer "style". If style is null, the chart will be constructed with a default style. 
 
 
 
◆ ~HistogramChart()
      
        
          | te::qt::widgets::HistogramChart::~HistogramChart  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ attach()
      
        
          | void te::qt::widgets::HistogramChart::attach  | 
          ( | 
          QwtPlot *  | 
          plot | ) | 
           | 
        
      
 
It atttaches a QwtPlot to this Cahrt. 
- Parameters
 - 
  
    | plot | The QwtPlot that will be attached to this chart. | 
  
   
- Note
 - If the histogram's data contains string labels, this function will define how they are drawn 
 
 
 
◆ getHistogram()
It returns the chart's histogram. 
- Returns
 - The chart's histogram. 
 
- Note
 - The caller will not take ownership of the returned pointer. 
 
 
 
◆ getHistogramStyle()
Returns a clone of the pointer to the histogram's style. 
- Returns
 - A HistogramStyle type pointer to the histogram's style. 
 
- Note
 - The caller will take ownership of the returned pointer. 
 
 
 
◆ getScaleDraw()
It returns the chart's scale draw. 
- Returns
 - The chart's scale draw. 
 
- Note
 - The caller will not take ownership of the returned pointer. 
 
 
 
◆ highlight() [1/3]
Highlights the objects identified by oids. 
- Parameters
 - 
  
    | oids | The identifiers of plotitems to be highlighted.  | 
  
   
 
 
◆ highlight() [2/3]
Highlights the intervals identified by point. 
- Parameters
 - 
  
    | point | The point to be highlighted.  | 
  
   
 
 
◆ highlight() [3/3]
Highlights the intervals contained by rectangle. 
- Parameters
 - 
  
    | rect | The rectangle containing the intervals to be highlighted.  | 
  
   
 
 
◆ rtti()
  
  
      
        
          | virtual int te::qt::widgets::HistogramChart::rtti  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
virtual   | 
  
 
Returns the chart's type. 
 
 
◆ setData()
      
        
          | void te::qt::widgets::HistogramChart::setData  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ setHistogram()
It sets the chart's histogram. 
- Parameters
 - 
  
    | newHistogram | The chart's new histogram.  | 
  
   
- Note
 - It will take the ownership of the pointer "newHistogram". 
 
 
 
◆ setHistogramStyle()
It sets the chart's style. 
- Parameters
 - 
  
    | newStyle | The chart's new style.  | 
  
   
- Note
 - It will take the ownership of the pointer "newStyle". 
 
 
 
◆ setScaleDraw()
      
        
          | void te::qt::widgets::HistogramChart::setScaleDraw  | 
          ( | 
          StringScaleDraw *  | 
          newScaleDraw | ) | 
           | 
        
      
 
It sets the chart's scale draw. 
- Parameters
 - 
  
    | new_labels | The new chart's scale draw.  
 | 
  
   
- Note
 - It will take the ownership of the pointer "newScaleDraw". 
 
 
 
◆ setSelectionColor()
      
        
          | void te::qt::widgets::HistogramChart::setSelectionColor  | 
          ( | 
          QColor  | 
          selColor | ) | 
           | 
        
      
 
color used to hgihlight selected objects on this chart. 
- Parameters
 - 
  
    | selColor | The color used to hgihlight selected objects on this chart.  | 
  
   
 
 
◆ m_histogram
  
  
      
        
          | Histogram* te::qt::widgets::HistogramChart::m_histogram | 
         
       
   | 
  
private   | 
  
 
The histogram that will be shown on this chart. 
Definition at line 166 of file HistogramChart.h.
 
 
◆ m_histogramScaleDraw
Scale draw that defines how a label will be displayed on this chart. 
Definition at line 167 of file HistogramChart.h.
 
 
◆ m_histogramStyle
The histogram's style as displayed by this widget. 
Definition at line 168 of file HistogramChart.h.
 
 
◆ m_selection
  
  
      
        
          | QwtPlotHistogram* te::qt::widgets::HistogramChart::m_selection | 
         
       
   | 
  
private   | 
  
 
The PlotItems to be highlighted when a selection occurs;. 
Definition at line 169 of file HistogramChart.h.
 
 
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/qt/widgets/charts/HistogramChart.h