TEXTCONT Function

Continues a text string. You can set the continued text apart from the main text by specifying different text attributes.

Syntax

FUNCTION= “TEXTCONT”;

Required Variable

LABEL= “text-string
specifies the text label. The text-string can contain superscripts, subscripts, and Unicode characters by using ODS escapement notation. Here is a simple example:
data anno; 
 infile datalines dlm='#';
 length function $8 label $35;
 input function $ label $ textcolor $; 
 datalines; 
 text # This label is rich(*ESC*){sup '2'} # black
 textcont # and this text is green # green
 ; 
run; 
 
proc sgplot data=sashelp.class sganno=anno;
 scatter x=weight y=height; 
run;
Default:none

Optional Variables

TEXTCOLOR= “color” | “style-attribute
specifies the text color for the annotation. You can specify a color or a style element attribute. Here is an example of a style attribute: GraphData2:Color
You can specify colors using the same color schemes that are supported by SAS/GRAPH software. For more information, see Color-Naming Schemes in SAS/GRAPH: Reference.
Default:COLOR attribute of the GraphAnnoText style element in the current style
TEXTFONT= “font-family
specifies the font family for the annotation. The SAS ODS styles use TrueType system fonts. For more information, see TrueType Fonts Supplied by SAS in SAS Language Reference: Concepts.
Default:FontFamily attribute of the GraphAnnoText style element in the current style.
TEXTSIZE= n <units>
specifies the font size of the annotation. You can also specify the unit of measurement. The default unit is pixels. For a list of measurement units that are supported, see Units of Measurement.
Default:FontSize attribute of the GraphAnnoText style element in the current style.
TEXTSTYLE= “ITALIC” | “NORMAL”
specifies whether the annotation characters are italic (ITALIC) or normal (NORMAL).
Default:FontStyle attribute of the GraphAnnoText style element in the current style.
TEXTWEIGHT= BOLD | NORMAL
specifies whether the annotation characters are bold (BOLD) or normal (NORMAL).
Default:FontWeight attribute of the GraphAnnoText style element in the current style.