13 #include <wx/wxfreechartdefs.h> 14 #include <wx/chartpanel.h> 23 void SetAllowHorizontalZoom(
bool allowHorizontalZoom);
24 void SetAllowVertialZoom(
bool allowVerticalZoom);
29 virtual void ChartEnterWindow();
31 virtual void ChartMouseDown(wxPoint &pt,
int key);
32 virtual void ChartMouseUp(wxPoint &pt,
int key);
34 virtual void ChartMouseMove(wxPoint &pt);
35 virtual void ChartMouseDrag(wxPoint &pt);
37 virtual void ChartMouseWheel(
int rotation);
40 bool m_allowHorizontalZoom;
41 bool m_allowVerticalZoom;
54 void SetAllowHorizontalPan(
bool allowHorizontalPan);
55 void SetAllowVertialPan(
bool allowVerticalPan);
60 virtual void ChartMouseDown(wxPoint &pt);
61 virtual void ChartMouseUp(wxPoint &pt);
62 virtual void ChartMouseMove(wxPoint &pt);
Pan moves chart data when user drags mouse.
Base class for zoom/pan modes.