For the purposes of demonstration this servlet
implementation assumes that the Pie Chart Servlet
has been implemented on the local machine under
the JSDK Servlet engine. It is vital that "ServletRunner"
is in operation when this page is viewed. For
further information on this please see:-
- Implementing Servlet
The configuration parameters and chart data are
supplied via two text files (piedata.txt and pieprops.txt).
- Data acquired from the file piedatagreek.txt
- Properties acquired from the file piepropsgreek.txt
- 3D Graphing Mode set
- 3D angle set to 40 degrees
- 3 Pies defined to display sales for 2 products
plus a combined pie.
How the Chart was created.
The above chart was inserted into the page with
the HTML Code contained in the file,
(click to view).
The character encoding was set to "UTF8"
via the "charset" parameter (within
the <IMG> tag),
The chart properties are read from the file,
(click to view)
The chart data is read from the file,
For a full explanation of each parameter see the
Options" section of the Documentation.