#include <ChartAxisLabel.h>
Public Member Functions | |
void | SetText (const TChartString &NewText) |
Sets the text of the axis label. | |
TChartString | GetText () const |
Retrieves the text of the axis label. | |
void | SetFont (int nPointSize, const TChartString &strFaceName) |
Sets the font of the text. | |
void | SetFont (const CChartFont &newFont) |
Sets the font of the text. | |
void | SetVisible (bool bVisible) |
Shows/hides the title. | |
bool | IsVisible () const |
Returns true if the title is visible. | |
COLORREF | GetColor () const |
Retrieves the text color. | |
void | SetColor (COLORREF NewColor) |
Sets the text color. |
The label axis is displayed under or next to the tick values. The label is retrieved by calling CChartAxis::GetAxisLabel.
void CChartAxisLabel::SetFont | ( | const CChartFont & | newFont | ) |
Sets the font of the text.
This function allows to set extended font style by passing a CChartFont object.
newFont | The new font. |
void CChartAxisLabel::SetFont | ( | int | nPointSize, | |
const TChartString & | strFaceName | |||
) |
Sets the font of the text.
nPointSize | The font point size. | |
strFaceName | The font face name ("Times New Roman", "Arial", ...) |