summaryrefslogtreecommitdiffstats
path: root/Project/ChartView.h
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-04-25 19:29:34 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-04-25 19:29:34 -0300
commitc3b8370a456085dd835349a8c50e7a9e0a117c45 (patch)
treeeb6af1eaa9a34320d619876386eedc33024eccb3 /Project/ChartView.h
parent9154f5ee02766121f7ac8dd756f2e73ae95e1afa (diff)
downloadPSP.git-c3b8370a456085dd835349a8c50e7a9e0a117c45.tar.gz
PSP.git-c3b8370a456085dd835349a8c50e7a9e0a117c45.tar.xz
PSP.git-c3b8370a456085dd835349a8c50e7a9e0a117c45.zip
wxMathPlot implemented on chart view
Diffstat (limited to 'Project/ChartView.h')
-rw-r--r--Project/ChartView.h19
1 files changed, 17 insertions, 2 deletions
diff --git a/Project/ChartView.h b/Project/ChartView.h
index 191a264..316aae9 100644
--- a/Project/ChartView.h
+++ b/Project/ChartView.h
@@ -1,11 +1,26 @@
#ifndef CHARTVIEW_H
#define CHARTVIEW_H
#include "ChartViewBase.h"
+#include "wxMathPlot/mathplot.h"
+
+#include <wx/msgdlg.h>
class ChartView : public ChartViewBase
{
-public:
+ public:
ChartView(wxWindow* parent);
virtual ~ChartView();
+
+ protected:
+ virtual void OnPropertyGridChange(wxPropertyGridEvent& event);
+ virtual void SetMPWindow();
+ mpWindow* m_mpWindow = NULL;
+ mpScaleX* m_xaxis = NULL;
+ mpScaleY* m_yaxis = NULL;
+ mpText* m_chartTitle = NULL;
+ mpInfoCoords* m_coords = NULL;
+ mpInfoLegend* m_leg = NULL;
+
+ wxPGProperty* m_pgPropColor = NULL;
};
-#endif // CHARTVIEW_H
+#endif // CHARTVIEW_H