SRGStrataVBarGraph Class
class SRGStrataVBarGraph: public SRGVBarAxisBase
Performs data drawing for Strata Vertical Bar and Strata Vertical Bar Group graph typesInherits axis drawing abilities from SRGVBarAxisBase, basic graph component functions from SRGDisplayBase, and component and font capabilities from SRGraphTitle
Defined in: SRGStrataVBarGraph.h
Developer Notes
All PrepareXXX, DrawXXXAxis, and DrawXXXLabels routines are defined in SRGVBarAxisBase. This class defines all DrawXXXData functions -- only the DrawStrataVBarData, DrawStrataVBarGData, and DrawVBarData 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
Constructor
virtual ~SRGStrataVBarGraph()
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 DrawStrataVBarGLabels()
Do some pre-initialization for the strata bar( one group/ per bar )
virtual void DrawStrataVBarData()
Draw a strata vbar label with the group header as the label text of each bar
virtual void DrawStrataVBarGData()
Draw strata vbar(data with the same index of different group on the same bar)
virtual void DrawVBarData()
Draw a strata vbar with each group on one bar
friend class SRGStrataVBarGraphFTR
Draws vertical bar chart data - used if data contains neg values