#include <multiplot.h>


Public Member Functions | |
| MultiPlot (int rows, int cols, wxCoord horizGap, wxCoord vertGap) | |
| void | AddPlot (Plot *subPlot) |
| virtual void | PlotNeedRedraw (Plot *plot) |
Public Member Functions inherited from Plot | |
| virtual void | Draw (wxDC &dc, wxRect rc) |
| virtual void | DrawNoDataMessage (wxDC &dc, wxRect rc) |
| void | SetChartPanel (wxChartPanel *chartPanel) |
| wxChartPanel * | GetChartPanel () |
| void | SetBackground (AreaDraw *background) |
| void | SetTextNoData (const wxString &textNoData) |
Public Member Functions inherited from Observable< PlotObserver > | |
| void | AddObserver (PlotObserver *_observer) |
| void | RemoveObserver (PlotObserver *_observer) |
Protected Member Functions | |
| virtual bool | HasData () |
| virtual void | DrawData (wxDC &dc, wxRect rc) |
Protected Member Functions inherited from Plot | |
| virtual void | ChartPanelChanged (wxChartPanel *oldPanel, wxChartPanel *newPanel) |
| FIRE_WITH_THIS (PlotNeedRedraw) | |
Additional Inherited Members | |
Public Types inherited from Observable< PlotObserver > | |
| typedef PlotObserver | Observer |
Public Attributes inherited from Observable< PlotObserver > | |
|
std::vector< PlotObserver * > ::iterator | OIt |
Protected Attributes inherited from Observable< PlotObserver > | |
| std::vector< PlotObserver * > | observers |
Multiplot is plot containing one or more plots, called subplots. It arranges subplots to rows and columns.
| MultiPlot::MultiPlot | ( | int | rows, |
| int | cols, | ||
| wxCoord | horizGap, | ||
| wxCoord | vertGap | ||
| ) |
Constructs new multiplot.
| rows | number of rows for subplots |
| cols | number of columns for subplots |
| horizGap | distance between columns |
| vertGap | distance between rows |
|
inline |
Add plot to this multiplot.
| subPlot | plot to be added |
|
protectedvirtual |
Perform data rendering. Must be overriden by derivative classes.
| dc | device context |
| rc | rectangle where to draw |
Implements Plot.
|
protectedvirtual |
Checks whether plot has data. Must be overriden by derivative classes.
Implements Plot.
|
virtual |
Called when plot has been changed and need to be redrawn.
| _plot | plot |
Implements PlotObserver.