SRGraphData::SetAnnotation

voidSRGraphData::SetAnnotation(LPCTSTRtext, BOOLclear, intcode)

Overloaded function to set the annotation in the most basic fashion
Omit the code and clear variables to set the annotation string for the default country code.
Set clear to TRUE to wipe the existing list and substitute this annotation.
For example, SetAnnotation("Capital investment") would be the simplest method of annotating a graph data element.

Defined in: SRGDat.cpp

Parameters

text

Text string to use for annotation

clear

If TRUE then all entries in the existing list are wiped -- default=FALSE

code

Country code -- default=01 (USA)