DataTextTemplateHiLo

This is a global string property that can be used to define a macro-based format for data text labels in a stock graph. The default is a null string. If the default is used, a "[CLOSE]" value is used if the Graph Type has a close data item, and "[HIGH]" is used otherwise. This property can be used to customize the data text labels and insert macros for the actual data any place in a defined string. The DataTextDisplay property must be set to true in order for the data text labels to display in the graph.

Syntax:

setDataTextTemplateHiLo("string");
"string" = getDataTextTemplateHiLo();

where:

string

Can be any printable characters which may or may not include these macros:

OPEN_VALUE_MACRO = "[OPEN]"
HI_VALUE_MACRO = "[HIGH]"
LOW_VALUE_MACRO = "[LOW]"
CLOSE_VALUE_MACRO = "[CLOSE]

A null string is the default value.

Example:

setDataTextDisplay(true);  setDataTextTemplateHiLo("[OPEN]"); 
setGraphType(72);
setDataTextFormat(6);
setViewableGroupsStock(6);
setDataScrollerPresenceGroups(0);

stock graph

setDataTextTemplateHiLo("[CLOSE]");

stock graph

See DataTextDisplay.


WebFOCUS