SRGPieGraph Class
class SRGPieGraph: public SRGDisplayBase
The graph display component specialized for Pie charts Inherits basic graph component functions from SRGDisplayBase, and component and font capabilities from SRGraphTitleDefined in: SRGPieGraph.h
Developer Notes
This class defines all of SRGDisplayBase's PrepareXXX, DrawXXXAxis, DrawXXXLabels, and DrawXXXData functions, but only the Pie and VBar chart functions do anything useful.See also...
SRGraphDisplay and SRGDisplayBase for description of functions unused by this class.
Class Members
Public member functions
Constructor
virtual ~SRGPieGraph()
Virtual destructor for this class
Protected member functions
virtual void PrepareYScale()
Prepares the display component for drawing
virtual void DrawPieLabels()
Calculates scale ranges for most simple graph types
virtual void DrawPieData()
Draws pie chart labels
virtual void DrawIsoPieData()
Draws pie chart data
virtual void DrawClassicLabels()
Draws the 3D pie chart
virtual void DrawClassicAxis()
Called to draw standard X,Y labels - used if data contains neg. values
virtual void DrawVBarData()
Called to draw standard X,Y axes - used if data contains neg. values
friend class SRGPieGraphFTR
Draws vertical bar chart data - used if data contains neg. values