LabelAxis Class Reference
#include <labelaxis.h>
List of all members.
Detailed Description
Base class for axes for displaying data labels.
Member Function Documentation
virtual void LabelAxis::Draw |
( |
wxDC & |
dc, |
|
|
wxRect |
rc | |
|
) |
| | [virtual] |
Performs axis drawing.
- Parameters:
-
| dc | device context |
| rc | rectangle where to draw |
Implements Axis.
virtual void LabelAxis::DrawGridLines |
( |
wxDC & |
dc, |
|
|
wxRect |
rcData | |
|
) |
| | [virtual] |
Draws grid lines for axis.
- Parameters:
-
| dc | device context |
| rc | data area rectangle of plot |
Implements Axis.
virtual wxCoord LabelAxis::GetExtent |
( |
wxDC & |
dc |
) |
[virtual] |
Used to determine minimal size needed to draw axis contents, minimal width for vertical axes, minimal height for horizontal.
- Parameters:
-
- Returns:
- extent
Implements Axis.
virtual void LabelAxis::GetLabel |
( |
size_t |
step, |
|
|
wxString & |
label | |
|
) |
| | [protected, pure virtual] |
wxColour LabelAxis::GetLabelTextColour |
( |
|
) |
[inline] |
Returns label colour.
- Returns:
- label colour
const wxFont& LabelAxis::GetLabelTextFont |
( |
|
) |
[inline] |
Returns label font.
- Returns:
- label font
const wxString& LabelAxis::GetTitle |
( |
|
) |
[inline] |
Returns axis title.
- Returns:
- axis title
wxColour LabelAxis::GetTitleColour |
( |
|
) |
[inline] |
Returns axis title colour.
- Returns:
- axis title colour
const wxFont& LabelAxis::GetTitleFont |
( |
|
) |
[inline] |
Returns axis title font.
- Returns:
- axis title font
int LabelAxis::GetTitleLocation |
( |
|
) |
[inline] |
Returns axis title location.
- Returns:
- axis title location
virtual double LabelAxis::GetValue |
( |
size_t |
step |
) |
[protected, pure virtual] |
bool LabelAxis::GetVerticalLabelText |
( |
|
) |
[inline] |
Returns whether to draw labels text vertical.
- Returns:
- true if labels text will be drawn vertical
virtual bool LabelAxis::IsEnd |
( |
size_t |
step |
) |
[protected, pure virtual] |
void LabelAxis::SetLabelPen |
( |
wxPen |
labelPen |
) |
[inline] |
Sets pen for label lines.
- Parameters:
-
| labelPen | pen for label lines |
void LabelAxis::SetLabelTextColour |
( |
wxColour |
labelTextColour |
) |
[inline] |
Sets colour for labels.
- Parameters:
-
| labelColour | color for labels |
void LabelAxis::SetLabelTextFont |
( |
wxFont |
labelTextFont |
) |
[inline] |
Sets font for labels text.
- Parameters:
-
| labelFont | font for labels text |
void LabelAxis::SetTitle |
( |
const wxString & |
title |
) |
[inline] |
Sets axis title.
- Parameters:
-
void LabelAxis::SetTitleColour |
( |
wxColour & |
colour |
) |
[inline] |
Sets axis title colour.
- Parameters:
-
void LabelAxis::SetTitleFont |
( |
wxFont & |
font |
) |
[inline] |
Sets axis title font.
- Parameters:
-
void LabelAxis::SetTitleLocation |
( |
int |
location |
) |
[inline] |
Sets axis title location.
- Parameters:
-
| location | new location for axis title, acceptable values wxLEFT, wxCENTER, wxRIGHT for horizontal axes, wxTOP, wxCENTER, wxBOTTOM for vertical axes. |
void LabelAxis::SetVerticalLabelText |
( |
bool |
verticalLabelText |
) |
[inline] |
Sets whether to draw labels text vertical.
- Parameters:
-
| verticalLabelText | true to draw labels text vertical |
The documentation for this class was generated from the following file: