Chapter Contents

Previous

Next
HTML

HTML



Specifies the HTML string to invoke when an affected DSGI graphic element in a web page is clicked

Operating States: GKOP, SGOP, WSAC, WSOP
Return Codes: 0, 8
Default Value: null


Syntax
Description
Argument Definitions
See Also


Syntax

return-code-variable=GSET('HTML', 'string');


Description

The GSET('HTML', . . . ) function sets the HTML string to invoke when an affected DSGI graphic element in a web page is clicked. The HTML string is used with ODS processing to create a drill-down graph. The string value is used as the value for the HREF= attribute in the image map that implements the drill-down capability.

The value for string must be href= followed by a valid URL that is specified in double quotation marks, as in

rc = GSET('HTML', 'HREF="http://www.sas.com/"');

The HTML string can be used by any of the following graphic element types drawn in the code: BAR, ELLIPSE, FILL, MARK, PIE, and TEXT. The string applies to all of these element types that are drawn after the string is set. To change the HTML string, set a new value. To turn off the HTML string, specify a null string:

 rc = GSET('HTML', '');

For more information on drill-down graphs, see About Drill-down Graphs. For an example of how to use DSGI to generate a drill-down graph, see Generating a Drill-down Graph Using DSGI.


Argument Definitions

string the HTML string. The string must be enclosed in single quotation marks and must begin with href= followed by a URL that is enclosed in double quotation marks.

See Also

GASK('HTML', . . . ) function
GDRAW('BAR', . . . ) function
GDRAW('ELLIPSE', . . . ) function
GDRAW('FILL', . . . ) function
GDRAW('MARK', . . . ) function
GDRAW('PIE', . . . ) function
GDRAW('TEXT', . . . ) function


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.