Main Page | Class Hierarchy | Class List | Class Members

wxPieCtrl Class Reference

The component for drawing pie diagrams. More...

#include <wxPieCtrl.h>

Inheritance diagram for wxPieCtrl:

wxProgressPie List of all members.

Public Member Functions

wxColour GetBackColour ()
 Returns the background colour of the control.
wxPieCtrlLegendGetLegend ()
 Returns the pointer of diagram legend.
bool GetShowEdges ()
 Returns true if the edges of diagram are shown, otherwise returns false.
void SetAngle (double angle)
 Sets the angle of vertical rotation.
void SetBackColour (wxColour colour)
 Sets the background colour of the control.
void SetBackground (wxBitmap bmp)
 Sets the background bitmap of the control.
void SetHeight (int value)
 Sets the height of pie diagram.
void SetRotationAngle (double angle)
 Sets the angle of horizontal rotation.
void SetShowEdges (bool value)
 Shows or hides edges of diagram.
 wxPieCtrl (wxWindow *parent, wxWindowID id=wxID_ANY, wxPoint pos=wxDefaultPosition, wxSize sz=wxDefaultSize, long style=0, wxString name=wxT("wxPieCtrl"))
 Constructor.

Public Attributes

wxPieSeries m_Series
 An array of wxPiePart objects for storing information about sectors.

Detailed Description

The component for drawing pie diagrams.


Constructor & Destructor Documentation

wxPieCtrl::wxPieCtrl wxWindow *  parent,
wxWindowID  id = wxID_ANY,
wxPoint  pos = wxDefaultPosition,
wxSize  sz = wxDefaultSize,
long  style = 0,
wxString  name = wxT("wxPieCtrl")
 

Constructor.

Parameters:
parent Pointer to a parent window
id Window ID
pos Window position
sz Window size
style Window style
name Window name


Member Function Documentation

void wxPieCtrl::SetShowEdges bool  value  ) 
 

Shows or hides edges of diagram.

Parameters:
value Specifies the visibility of diagram edges


Generated on Tue Jun 7 21:46:25 2005 for wxPieCtrl by  doxygen 1.4.3