SRGVectorGraph Class

class SRGVectorGraph: public SRGDisplayBase

The graph display component specialized for Vector charts
Vector charts use the same axis system as XY scatter charts.
Inherits basic graph component functions from SRGDisplayBase, and component and font capabilities from SRGraphTitle

Defined in: SRGVectorGraph.h

Developer Notes

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

Constructor

CHART_API virtual ~SRGVectorGraph()

Virtual destructor for this class

Protected member functions

CHART_API virtual void PrepareVector()

Prepares the display component for drawing

CHART_API virtual void DrawVectorData()

Calculates X and Y scale information for vector graphs

CHART_API virtual void DrawScatterLabels()

Draws vector data

CHART_API virtual void DrawScatterAxis()

Draws X,Y scatter labels

CHART_API virtual void DrawClassicAxis()

Draws X,Y scatter axes

friend class SRGVectorGraphFTR

Called to draw standard X,Y axes - called by DrawScatter Axis