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 SRGraphTitle

Defined 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

CHART_API SRGPieGraph()

Constructor

CHART_API virtual ~SRGPieGraph()

Virtual destructor for this class

Protected member functions

CHART_API virtual void PrepareYScale()

Prepares the display component for drawing

CHART_API virtual void DrawPieLabels()

Calculates scale ranges for most simple graph types

CHART_API virtual void DrawPieData()

Draws pie chart labels

CHART_API virtual void DrawIsoPieData()

Draws pie chart data

CHART_API virtual void DrawClassicLabels()

Draws the 3D pie chart

CHART_API virtual void DrawClassicAxis()

Called to draw standard X,Y labels - used if data contains neg. values

CHART_API 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