Parameters to embed the Mining Visualizer Applet
You can specify values for the following parameters:
- code
-
- com.ibm.iminer.visualizer.applet.IDMVisualizerApplet
- To embed the complete visualizer
- com.ibm.iminer.visualizer.applet.IDMMiningViewApplet
- To embed a particular view only
- codebase
- You must specify the location of the
libraries relative to the
HTML document:
- "."
- The visualizer libraries are located in the same directory as the HTML document.
- "../lib"
- The visualizer libraries are located in a directory that is higher than the directory where the HTML document is stored.
- archive
- You must always specify
the value
"imvisu.jar". This means that the main Jar File that the browser must load is imvisu.jar. Do not change this parameter.If you want to access a database, you must add the name of the file that contains the JDBC driver. The values for the parameter archive might look like this:
"imvisu.jar,db2java.zip". - width, height
- The parameters width
and height define the size of the Mining
Visualizer Applet on the HTML page in pixels.
- If you want to embed a push button that launches the visualizer in its own window, these values define the size of the push button on the HTML page.
- If you want to embed the complete visualizer or a particular view of a visualizer, these values define the size of the visualizer or the view on the HTML page.
- param name
- With the following coding between the start tag and the
end tag
of an applet, you can define parameters to modify the behavior of
the visualizer applet:
<param name="PARAM NAME" value="PARAM VALUE">For example, you might want to use the parameter model to define the URL where the model that you want to display is located. You can use absolute or relative URLs. The file that contains the model that you want to display might be called model.xml. It might be located on the Web server in the directory models/. The syntax looks like this:<param name="model" value="models/model.xml">If you omit the parameter model, a File Open dialog is displayed when you are launching the visualizer. See the sample file index.html that resides in the installation directory ../IMVisualization/lib/samples/applet/ of the Intelligent Miner® Visualizers.