Plot Class Reference
#include <plot.h>
List of all members.
Detailed Description
Base class for all plots.
Member Function Documentation
virtual void Plot::Draw |
( |
wxDC & |
dc, |
|
|
wxRect |
rc | |
|
) |
| | [virtual] |
Draws plot
- Parameters:
-
| dc | device context |
| rc | rectangle where to draw |
virtual void Plot::DrawData |
( |
wxDC & |
dc, |
|
|
wxRect |
rc | |
|
) |
| | [protected, pure virtual] |
Perform data rendering. Must be overriden by derivative classes.
- Parameters:
-
| dc | device context |
| rc | rectangle where to draw |
Implemented in MultiPlot, and PiePlot.
virtual void Plot::DrawNoDataMessage |
( |
wxDC & |
dc, |
|
|
wxRect |
rc | |
|
) |
| | [virtual] |
Draws "no data" message. Can be overriden by derivative classes.
- Parameters:
-
| dc | device context |
| rc | rectangle where to draw |
virtual bool Plot::HasData |
( |
|
) |
[protected, pure virtual] |
Checks whether plot has data. Must be overriden by derivative classes.
- Returns:
- true if plot has data, false overwise
Implemented in MultiPlot, and PiePlot.
void Plot::SetBackground |
( |
AreaDraw * |
background |
) |
[inline] |
Sets plot background.
- Parameters:
-
| background | new background for plot |
void Plot::SetTextNoData |
( |
const wxString & |
textNoData |
) |
[inline] |
Sets text message drawn, when plot has no data to draw
- Parameters:
-
| textNoData | text message drawn, when plot has no data to draw |
The documentation for this class was generated from the following file: