From c3b8370a456085dd835349a8c50e7a9e0a117c45 Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Tue, 25 Apr 2017 19:29:34 -0300 Subject: wxMathPlot implemented on chart view --- Project/ChartView.h | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'Project/ChartView.h') 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 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 -- cgit