SRGGanttGraph Class

class SRGGanttGraph: public SRGDisplayBase

The graph display component specialized for Gantt charts Inherits basic graph component functions from SRGDisplayBase, and component and font capabilities from SRGraphTitle

Defined in: SRGGanttGraph.h

Developer Notes

This class defines all of SRGDisplayBase's PrepareXXX, DrawXXXAxis, DrawXXXLabels, and DrawXXXData functions, but only the Gantt chart functions do anything useful.

See also...

 SRGraphDisplay and  SRGDisplayBase for description of functions unused by this class.

Class Members

Public member functions

 SRGGanttGraph()

Constructor

virtual  ~SRGGanttGraph()

Virtual destructor for this class

Protected member functions

virtual void  PrepareYScale()

Prepares the display component for drawing

virtual void  DrawClassicAxis()

Calculates scale ranges for most simple graph types

virtual void  DrawYXAxis()

Called to draw standard X,Y axes

virtual void  DrawGanttLabels()

Draws the YX axis for use with horizontal bar charts

virtual void  DrawGanttData()

Draws Gantt labels

friend class SRGGanttGraphFTR

Draws Gantt data