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

CHART_API SRGStrataHBarGraph()

Constructor

CHART_API virtual ~SRGStrataHBarGraph()

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 DrawStrataHBarGLabels()

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

CHART_API virtual void DrawStrataHBarGData()

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

CHART_API virtual void DrawStrataHBarData()

Draw a strata hbar with each group on one bar

CHART_API 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