Chart.
More...
#include <chart.h>
Chart.
Contains plot, title and chart attributes.
Definition at line 30 of file chart.h.
Chart::Chart |
( |
Plot * |
plot, |
|
|
const wxString & |
title = wxEmptyString |
|
) |
| |
Constructs new chart.
- Parameters
-
plot | plot |
title | chart title (empty string - no title) |
void Chart::Draw |
( |
ChartDC & |
dc, |
|
|
wxRect & |
rc, |
|
|
bool |
antialias = false |
|
) |
| |
Draws chart.
- Parameters
-
dc | device context |
rc | rectangle where to draw chart |
Returns plot associated with chart.
- Returns
- plot
Definition at line 48 of file chart.h.
void Chart::SetBackground |
( |
AreaDraw * |
background | ) |
|
|
inline |
Sets chart background.
- Parameters
-
background | chart background |
Definition at line 64 of file chart.h.
void Chart::SetTitle |
( |
wxString |
title | ) |
|
|
inline |
Calcalate plot area rectangle.
- Parameters
-
dc | device context |
rc | entire chart rectangle |
- Returns
- plot area rectangle Sets chart title.
- Parameters
-
Definition at line 86 of file chart.h.
The documentation for this class was generated from the following file: