CChartAxisLabel Class Reference

Draws the label of an axis. More...

#include <ChartAxisLabel.h>

List of all members.

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.


Detailed Description

Draws the label of an axis.

The label axis is displayed under or next to the tick values. The label is retrieved by calling CChartAxis::GetAxisLabel.


Member Function Documentation

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.

Parameters:
newFont The new font.

void CChartAxisLabel::SetFont ( int  nPointSize,
const TChartString &  strFaceName 
)

Sets the font of the text.

Parameters:
nPointSize The font point size.
strFaceName The font face name ("Times New Roman", "Arial", ...)


The documentation for this class was generated from the following files:

Generated on Sun Jan 17 13:33:10 2010 for ChartDemo by  doxygen 1.5.8