SRGWebGraph Class

class SRGWebGraph: public SRGDisplayBase

The graph display component specialized for Web and AreaWeb charts Inherits basic graph component functions from SRGDisplayBase, and component and font capabilities from SRGraphTitle

Defined in: SRGWebGraph.h

Developer Notes

This class defines all of SRGDisplayBase's PrepareXXX, DrawXXXAxis, DrawXXXLabels, and DrawXXXData functions, but only the Web 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 SRGWebGraph()

Constructor

CHART_API virtual ~SRGWebGraph()

Virtual destructor for this class

Protected member functions

CHART_API virtual void PrepareYScale()

Prepares the display component for drawing

CHART_API virtual void DrawWebLabels()

Calculates scale ranges for most simple graph types

CHART_API virtual void DrawWebAxis()

Draws Web chart labels

CHART_API virtual void DrawWebData()

Draws Web chart axes

friend class SRGWebGraphFTR

Draws Web char data