A class that adjusts the labels on a chart. More...
#include <TimeScaleDraw.h>
Public Member Functions | |
virtual QwtText | label (double v) const |
TimeScaleDraw (std::string dateFormat="dd MMM yyyy") | |
Constructor. More... | |
~TimeScaleDraw () | |
Destructor. More... | |
Private Attributes | |
std::string | m_dateFormat |
A class that adjusts the labels on a chart.
Definition at line 49 of file TimeScaleDraw.h.
te::qt::widgets::TimeScaleDraw::TimeScaleDraw | ( | std::string | dateFormat = "dd MMM yyyy" | ) |
Constructor.
It constructs a TimeScaleDraw that has the appropriate granularity for the data that the label is displaying.
The default format strings are:
te::qt::widgets::TimeScaleDraw::~TimeScaleDraw | ( | ) |
Destructor.
|
virtual |
|
private |
Definition at line 76 of file TimeScaleDraw.h.