XYHistoRenderer Class Reference
#include <xyhistorenderer.h>
List of all members.
Detailed Description
Renderer for displaying XY data as histograms.
Constructor & Destructor Documentation
XYHistoRenderer::XYHistoRenderer |
( |
int |
barWidth = 10 , |
|
|
bool |
vertical = true | |
|
) |
| | |
Constructs new XYHistoRenderer.
- Parameters:
-
| barWidth | width to histogram bars |
| vertical | true to draw vertical bars, false - to horizontal |
Member Function Documentation
virtual void XYHistoRenderer::Draw |
( |
wxDC & |
dc, |
|
|
wxRect |
rc, |
|
|
Axis * |
horizAxis, |
|
|
Axis * |
vertAxis, |
|
|
XYDataset * |
dataset | |
|
) |
| | [virtual] |
Draws dataset.
- Parameters:
-
| dc | device context |
| rc | rectangle where to draw |
| horizAxis | horizontal axis |
| vertAxis | vertical axis |
| dataset | dataset to be drawn |
Implements XYRenderer.
AreaDraw* XYHistoRenderer::GetBarArea |
( |
size_t |
serie |
) |
|
Returns area draw for specified serie.
- Parameters:
-
- Returns:
- area draw for specified serie
void XYHistoRenderer::SetBarArea |
( |
size_t |
serie, |
|
|
AreaDraw * |
barArea | |
|
) |
| | |
Set area fill to draw specified serie. XYHistoRenderer takes ownership of barArea.
- Parameters:
-
| serie | serie index |
| barArea | area background object to draw bars |
The documentation for this class was generated from the following file: