Base class for all plots.
More...
#include <plot.h>
Base class for all plots.
Definition at line 31 of file plot.h.
Called when chart panel is changed.
- Parameters
-
oldPanel | old chart panel |
newPanel | new chart panel |
Referenced by AxisPlot::GetAxisDataset().
virtual void Plot::Draw |
( |
ChartDC & |
cdc, |
|
|
wxRect |
rc, |
|
|
PlotDrawMode |
mode = PLOT_DRAW_ALL |
|
) |
| |
|
virtual |
Draws plot.
- Parameters
-
dc | device context |
rc | rectangle where to draw |
virtual void Plot::DrawBackground |
( |
ChartDC & |
cdc, |
|
|
wxRect |
rc |
|
) |
| |
|
protectedpure virtual |
Draw the plot's static items (e.g.
axis, gridlines, legend etc.). Must be overriden by derivative classes.
- Parameters
-
dc | device context |
rc | rectangle where to draw |
Implemented in PiePlot, and MultiPlot.
Referenced by AxisPlot::GetAxisDataset().
virtual void Plot::DrawData |
( |
ChartDC & |
cdc, |
|
|
wxRect |
rc |
|
) |
| |
|
protectedpure virtual |
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 |
( |
| ) |
|
|
protectedpure virtual |
void Plot::SetBackground |
( |
AreaDraw * |
background | ) |
|
|
inline |
Sets plot background.
- Parameters
-
background | new background for plot |
Definition at line 65 of file plot.h.
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 |
Definition at line 74 of file plot.h.
The documentation for this class was generated from the following file: