Drill-Down and URLs

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.


Top of page

x
URL Methods

Top of page

x
Example Drill-Down
<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(&quot;Pie Chart with Drilldown&quot;); 
setSubtitleString(&quot;Click on the 
slices to see a description&quot;);
setGraphType(55); 
setSeriesLabelArray(&quot;Monday&quot;, 
&quot;Tuesday&quot;,&quot;Wednesday&quot;, 
&quot;Thursday&quot;,&quot;Friday&quot;);
setDataSeries(35.00);
setDataSeries(27.00);
setDataSeries(15.00);
setDataSeries(17.00);
setDataSeries(27.00);  setURL(0,0,&quot;series0.html&quot;);  setURL(1, 0,&quot;series1.html&quot;);  setURL(2, 0,&quot;series2.html&quot;);  setURL(3, 0,&quot;series3.html&quot;);  setURL(4, 0,&quot;series4.html&quot;);  setURLTarget(0,0, &quot;Bottom&quot;);  setURLTarget(1,0, &quot;Bottom&quot;);  setURLTarget(2,0, &quot;Bottom&quot;);  setURLTarget(3,0, &quot;Bottom&quot;);  setURLTarget(4,0, &quot;Bottom&quot;);
setToolTipDisplay(1);
"></applet></p><p><br><br>
<a href="series2.html" target="Bottom">
Show the Series2 page by force</a> </p></body></html>

WebFOCUS