graph chart

2D / 3D Area Graph Examples

[ Graph Home ] [ Documentation ] [ Getting Started ] [ Solutions ]

Applet Printing Demo

if you do not see the graph below then click here

( for a printable version of this page please click here )

 

This example demonstrates how to implement both the applet and servlet together so that all the interactive features of the applet are presented to the user and also giving the user the option of printing the page containing the graph.

On this first page we implement the applet Clicking on the note at the foot of the graph will bring up an almost identical page which contains the servlet implementation which is universally printable.

The configuration data is acquired from the text file areaprops.txt (click here to view)
and the graph data is acquired from the text file areadata.txt (click here to view).

and here is the HTML code,

<applet code="AreaGraphApplet.class" archive="AreaGraph.jar" width="460" height="440">

<!-- Start Up Parameters -->
<PARAM name="LOADINGMESSAGE" value="Area Graph Loading - Please Wait.">
<PARAM name="STEXTCOLOR" value="0,0,100">
<PARAM name="STARTUPCOLOR" value="255,255,255">

<!-- Data files -->
<PARAM name="chartproperties" value="areaprops.txt">
<PARAM name="chartdata" value="areadata.txt">


</applet>

For a full explanation of and range of values for the above parameters please see the Documentation - Configuration Options».

« back to Examples Index

« back to Getting Started

[ Graph Home ] [ Documentation ] [ Getting Started ] [ Solutions ]

Getting Started

Documentation

Examples

Common Problems
This section describes and provides solutions to common problems.