Web components / Using a gICAPI web component |
A gICAPI web component is identified by an HTML document containing the JavaScript interface (or a reference to the .js file).
WEBCOMPONENT wc = FORMOMLY.chart, COMPONENTTYPE = "mychart"; -- Identifies "mychart.html"
<!DOCTYPE html> <html> <head> <title>The title</title> <script language="JavaScript" type="text/javascript" src="wc_echo.js"></script> </head> <body> <div style="background-color:green;width:3000px;height:3000px;" > here </div> </body> </html>