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

CHART_API SRGGanttGraph()

Constructor

CHART_API virtual ~SRGGanttGraph()

Virtual destructor for this class

Protected member functions

CHART_API virtual void PrepareYScale()

Prepares the display component for drawing

CHART_API virtual void DrawClassicAxis()

Calculates scale ranges for most simple graph types

CHART_API virtual void DrawYXAxis()

Called to draw standard X,Y axes

CHART_API virtual void DrawGanttLabels()

Draws the YX axis for use with horizontal bar charts

CHART_API virtual void DrawGanttData()

Draws Gantt labels

friend class SRGGanttGraphFTR

Draws Gantt data