In this section: |
The URL methods allow you to include drill-downs in HTML files. When the user selects/clicks on an object in a graph where a setURL() is defined, the HTML file provided as an input parameter to the method will automatically be loaded and displayed at the location specified by the setURLTarget(). For example, in the Example Drill-Down, setURL() selects a different HTML file for each series/group (slice) in a pie graph. The example setURLTarget() defines the location in the page where each HTML file will appear.
<html><head><title> Pie Drill Down Example</title></head><body><p> <applet code="TDGChartApplet.class" archive="javaCHARTg.jar" width="400" height="280"><param name="TDGSCRIPT" value="setTitleString("Pie Chart with Drilldown"); setSubtitleString("Click on the slices to see a description"); setGraphType(55); setSeriesLabelArray("Monday", "Tuesday","Wednesday", "Thursday","Friday"); setDataSeries(35.00); setDataSeries(27.00); setDataSeries(15.00); setDataSeries(17.00); setDataSeries(27.00); setURL(0,0,"series0.html"); setURL(1, 0,"series1.html"); setURL(2, 0,"series2.html"); setURL(3, 0,"series3.html"); setURL(4, 0,"series4.html"); setURLTarget(0,0, "Bottom"); setURLTarget(1,0, "Bottom"); setURLTarget(2,0, "Bottom"); setURLTarget(3,0, "Bottom"); setURLTarget(4,0, "Bottom"); setToolTipDisplay(1); "></applet></p><p><br><br> <a href="series2.html" target="Bottom"> Show the Series2 page by force</a> </p></body></html>
WebFOCUS |