graph demo

Graph Documentation - Interfacing with JavaScript

graph demo[ Home ] [ Products ] [ Downloads ] [ Purchase ]
[ Support ] [ About Us ]

Interfacing with JavaScript

Overview
The Applet form of the graphs are capable of directly triggering JavaScript functions embedded within the current page. Any data item can be made clickable and can either be set to execute a URL or a JavaScript function.

To instruct the graph applet to execute a JavaScript function upon a mouse click ( rather than URL ) the target element of the data item must be set to a value of "javascript".

The function to be executed should then be entered in the URL element of the data item.

For example to set data item 1 of series 1 to execute a JavaScript function "displayTable()" upon a mouse click the data item parameter would be:-

<PARAM NAME="data1series1" VALUE="45,displayTable(),javascript">

In addition it is vital that "mayscript" is present in the applet tag e.g,

<applet code="LineGraphApplet.class" archive="Linegraph.jar"
width="500" height="420" mayscript>

Custom Solutions
If would like us to perform the set-up process, create custom built data scripts or help with any other part of your web application then we are pleased to offer you the following services:-
Set-Up, Installation and Configuration Service
Web Site Components Development Service
Web Application Development Service
Custom Software Development
JavaScript CSS Image Gallery