SRGStrataVBarGraph Class

class SRGStrataVBarGraph: public SRGVBarAxisBase

Performs data drawing for Strata Vertical Bar and Strata Vertical Bar Group graph types
Inherits 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

CHART_API SRGStrataVBarGraph()

Constructor

CHART_API virtual ~SRGStrataVBarGraph()

Virtual destructor for this class

Protected member functions

CHART_API virtual void PrepareStrataBar()

Prepares the display component for drawing

CHART_API virtual void PrepareStrataBarG()

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

CHART_API virtual void DrawStrataVBarGLabels()

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

CHART_API virtual void DrawStrataVBarData()

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

CHART_API virtual void DrawStrataVBarGData()

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

CHART_API 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