URL drill-down

URL drill-down is the act of clicking on a series data point and being directed to a URL that brings related information. JetChart applets support drill-down through the use of parameters to specify a list of associated URLs.
The table below lists the parameters to be used with JetChart applets to implement URL drill-down:

AppletParameter Usage
GraphApplet.class and ScatterApplet.classseriex_urls Specify a list of URLs associated with a series data points.
GraphApplet.class and ScatterApplet.classseriex_urlcontextSpecify the context in which to interpret a relative URL.
GraphApplet.class and ScatterApplet.classseriex_urltargetsSpecify URLs targets.
PieApplet.classurlsSpecify a list of URLs associated with a series data points.
PieApplet.classurlcontextSpecify the context in which to interpret a relative URL.
PieApplet.classurltargetsSpecify URLs targets.

The parameters' names are linked to more detailed information about URL drill-down.

The names of absolute URLs must be well formed, including the protocol used to load documents, as in 'http://www.jinsight.com/jetchart/index.html'. It is also possible to inform only relative URLs, provided the URL context be passed to one of the url context parameters above listed. For instance, the URL previously mentioned can be split into two strings, as below:

<param name="serie1_urlcontext" value="http://www.jinsight.com/jetchart/">
<param name="serie1_urls" value="index.html">

It is more advantageous to specify relative URLs in that it is not necessary to repeat the URL context for each series data point, especially if a series has a great number of values.

The follow example displays a blue bar series and URL drill-down is activated. A click on any bar loads an associated website.



<applet code="GraphApplet.class" codebase="../../../demo/applets/classes" archive="GraphChart.jar" width=500 height=400>

<param name="bordercolor" value="000000"> <!-- black border around applet -->

<param name="title" value="Internet Audience Reach,March 2002">
<param name="labels" value="MSN,YAHOO,GOOGLE,AOL,ASKJEEVES,LOOKSMART,INFOSPACE,NETSCAPE,OVERTURE">

<param name="horizontal" value="yes">

<param name="tooltipson" value="yes">

<param name="graphset0_scalevalueformat" value="#0.0%">
<param name="graphset0_scalefont" value="SansSerif,12,0">
<param name="graphset0_gridon" value="yes">

<param name="legendposition" value="2">
<!-- creates a bar series with no legend-->
<param name="serie1" value="bar, ,0000ff">

<param name="serie1_width" value="20">
<param name="serie1_values" value=".370,.340,.289,.224,.157,.092,.089,.082,.069">

<param name="serie1_valueformat" value="#0.0%">

<!-- Enables legends on data points -->

<param name="serie1_marklegendon" value="yes">
<param name="serie1_marklegendbackcolor" value="cccccc">
<param name="serie1_font" value="SansSerif,12,0">

<!-- Specifies data points' urls -->
<param name="serie1_urls" value="http://www.msn.com,
http://www.yahoo.com,
http://www.google.com,
http://www.aol.com,
http://www.askjeeves.com,
http://www.looksmart.com,
http://www.infospace.com,
http://www.netscape.com,
http://www.overture.com">

<!-- Specifies url targets. A new blank window in this case.-->
<param name="serie1_urltargets" value="_blank">

</applet>