A class to represent a timeSeries chart.  
 More...
#include <TimeSeriesChart.h>
A class to represent a timeSeries chart. 
Definition at line 59 of file TimeSeriesChart.h.
◆ TimeSeriesChart() [1/2]
Constructor. 
It constructs a TimeSeres chart with a default style.
- Note
- It will take the ownership of the pointers. 
- 
it will construct a chart with a default style. 
 
 
◆ TimeSeriesChart() [2/2]
Constructor. 
- Note
- It will take the ownership of the pointer "style". 
- 
It will take the ownership of the pointer "data". 
 
 
◆ ~TimeSeriesChart()
      
        
          | te::qt::widgets::TimeSeriesChart::~TimeSeriesChart | ( |  | ) |  | 
      
 
 
◆ attach()
      
        
          | void te::qt::widgets::TimeSeriesChart::attach | ( | QwtPlot * | plot | ) |  | 
      
 
It atttaches a QwtPlot to this Cahrt. 
- Parameters
- 
  
    | plot | The QwtPlot that will be attached to this chart. |  
 
 
 
◆ getTimeSeries()
It returns the chart's timeSeries. 
 
- Returns
- The chart's timeSeries. 
 
 
 
◆ getTimeSeriesStyle()
Returns a clone of the pointer to the timeSeries' style. 
- Returns
- A ScatterStyle type pointer to the timeSeries' style. 
- Note
- The caller will take ownership of the returned pointer. 
 
 
◆ rtti()
  
  | 
        
          | virtual int te::qt::widgets::TimeSeriesChart::rtti | ( |  | ) | const |  | virtual | 
 
Returns the chart's type. 
 
 
◆ setData()
      
        
          | void te::qt::widgets::TimeSeriesChart::setData | ( |  | ) |  | 
      
 
 
◆ setDateFormat()
      
        
          | void te::qt::widgets::TimeSeriesChart::setDateFormat | ( | std::string | dateFormat | ) |  | 
      
 
It sets the date format that will be used on the labels. 
The default format strings are:
- Millisecond :hh:mm:ss:zzz\nddd dd MMM yyyy
- Second: hh:mm:ss\nddd dd MMM yyyy
- Minute: hh:mm\nddd dd MMM yyyy
- Hour: hh:mm\nddd dd MMM yyyy
- Day: ddd dd MMM yyyy
- Week Www yyyy
- Month: MMM yyyy
- Year: yyyy 
 
 
◆ setTimeSeries()
      
        
          | void te::qt::widgets::TimeSeriesChart::setTimeSeries | ( | te::st::TimeSeries * | newTimeSeries | ) |  | 
      
 
It sets the chart's timeSeries. 
 
- Parameters
- 
  
    | newHistogram | The chart's new scatter. |  
 
- Note
- It will take the ownership of the pointer "newScatter". 
 
 
◆ setTimeSeriesStyle()
      
        
          | void te::qt::widgets::TimeSeriesChart::setTimeSeriesStyle | ( | TimeSeriesStyle * | newStyle | ) |  | 
      
 
It sets the chart's style. 
 
- Parameters
- 
  
    | newStyle | The chart's new style. |  
 
- Note
- It will take the ownership of the pointer "newStyle". 
 
 
◆ m_dates
  
  | 
        
          | std::set<std::string> te::qt::widgets::TimeSeriesChart::m_dates |  | private | 
 
 
◆ m_selColor
  
  | 
        
          | QColor te::qt::widgets::TimeSeriesChart::m_selColor |  | private | 
 
 
◆ m_timeSeries
◆ m_timeSeriesStyle
The symbol that defines the look of a scatter's point. 
Definition at line 146 of file TimeSeriesChart.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/TimeSeriesChart.h