DataTextTemplateScatter

This is a global string property that can be used to define a macro-based format for data text labels in a scatter graph. Currently defined macros are "[X]" and "[Y]". 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:

setDataTextTemplateScatter("string");
"string" = getDataTextTemplateScatter();

where:

string

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

X_VALUE_MACRO = "[X]"
Y_VALUE_MACRO = "[Y]"
X_Y_VALUE_MACRO = "[X],[Y]"
LABEL_SERIES_MACRO = "[SL]";

[X],[Y] is the default value.

Example:

setDataTextDisplay(true);  setDataTextTemplateScatter("<[X]/[Y]>");
setGraphType(61);

scatter graph

setDataTextDisplay(true);  setDataTextTemplateScatter("<[Y]/[X]>");
setGraphType(61);

scatter graph

See DataTextDisplay.


WebFOCUS