About Using our Dynamic Pie Chart Applet
General Usage Information
The pie chart applet can be used in any server environment, including Windows, Unix and Mac operating systems. The data can be supplied to the applet by static HTML pages, or by a dynamic web application using any of the following:
- PHP
- ASP
- Java Servlets
- JSP
- ColdFusion
- Lotus Domino
- ... and many more
The applet is most powerful when used in conjunction with a database, such as:
- Microsoft SQL Server
- Microsoft Access
- Oracle
- MySQL
- PostgreSQL
Installation
To start using the pie chart applet on your web site, simply follow these 2 steps:
The pie chart applet requires a simple set of HTML tags to pass in data and set some options:
<applet code="piechart.class" height=180 width=300>
You can specify any height and width you want for your chart.
<param name="title" value="Market Share">
Here you specify the title which will be displayed on the chart.
<param name="csize" value="120">
Here you specify the diameter of the chart itself in pixels.
<param name="noofvals" value="3">
In this parameter you supply the number of wedges to be shown.
<param name="highlight" value="1">
This optional parameter determines whether wedges are highlighted. (Default is 0:
no highlighting)
<param name="val1" value="50">
<param name="val2" value="25">
<param name="val3" value="25">
Here you specify the percentage values for each wedge.
<param name="key1" value="IBM">
<param name="key2" value="Compaq">
<param name="key3" value="Dell">
Here you specify the label for each wedge
<param name="red1" value="255">
<param name="red2" value="0">
<param name="red3" value="80">
<param name="green1" value="0">
<param name="green2" value="255">
<param name="green3" value="80">
<param name="blue1" value="0">
<param name="blue2" value="0">
<param name="blue3" value="255">
The parameters are used to select Red, Green and Blue values for
each wedge.
Enter numbers between 0 and 255.
</applet>
Purchasing
You can purchase a version of this applet without the "GraphsCharts.com" credit. More details.
Feedback
Did our applet meet your needs for your project? Let us know.
Are there ways we can improve our Pie Chart Applet? Tell us how.