Version: 0.6.0
juliandateaxis.h
1 // Name: juliandateaxis.h
3 // Purpose: Axis declaration where the values are Julian Dates
4 // Author: Carsten Arnholm
5 // Created: 2010/08/19
6 // Licence: wxWidgets licence
8 
9 #ifndef JULIANDATEAXIS_H
10 #define JULIANDATEAXIS_H
11 
12 #include <wx/axis/numberaxis.h>
13 
14 class JulianDateAxis : public NumberAxis {
15 public:
16  JulianDateAxis(AXIS_LOCATION location);
17  virtual ~JulianDateAxis();
18 
23  void SetDateFormat(const wxString& dateFormat);
24 
25 protected:
26  virtual void GetLabel(size_t step, wxString &label);
27 
28 private:
29  wxString m_dateFormat;
30 };
31 
32 #endif // JULIANDATEAXIS_H
33 
virtual void GetLabel(size_t step, wxString &label)
Definition: juliandateaxis.cpp:28
Definition: juliandateaxis.h:14
void SetDateFormat(const wxString &dateFormat)
Definition: juliandateaxis.cpp:22
Definition: numberaxis.h:18