SRGStrataHBarGraph Class

class SRGStrataHBarGraph: public SRGHBarAxisBase

Performs data drawing for Strata Horizontal Bar and Strata Horizontal Bar Group graph types
Inherits axis drawing abilities from SRGHBarAxisBase, basic graph component functions from SRGDisplayBase, and component and font capabilities from SRGraphTitle

Defined in: SRGStrataHBarGraph.h

Developer Notes

All PrepareXXX, DrawXXXAxis, and DrawXXXLabels routines are defined in SRGHBarAxisBase. This class defines all DrawXXXData functions -- only the DrawStrataHBarData, DrawStrataHBarGData, and DrawHBarData do anything useful. It also overrides PrepareDisplay, PrepareStrataBar, and PrepareStrataBarG functions.

See also...

 SRGraphDisplay and  SRGDisplayBase for description of functions unused by this class

Class Members

Public member functions

 SRGStrataHBarGraph()

Constructor

virtual  ~SRGStrataHBarGraph()

Virtual destructor for this class

Protected member functions

virtual void  PrepareStrataBar()

Prepares the display component for drawing

virtual void  PrepareStrataBarG()

Do some pre-initialization for the strata bar( one index/per bar )

virtual void  DrawStrataHBarGLabels()

Do some pre-initialization for the strata bar( one group/ per bar )

virtual void  DrawStrataHBarGData()

Draw a strata hbar label with the group header as the label text of each bar

virtual void  DrawStrataHBarData()

Draw a strata hbar with each group on one bar

virtual void  DrawHBarData()

Draw strata hbar(data with the same index of different group on the same bar)

friend class SRGStrataHBarGraphFTR

Draws horizontal bar data - used if data contains neg. values