Graphs Charts Pie Charts Bar Charts Line Graphs
Pie Charts
Examples
Free Download
Help
Test Drive
...
Pricing
Purchase
Contact Us
...
Free Maps

 
Using the Dynamic Pie Chart Applet

Introduction | Installation | Parameters

HTML Tags

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="mode" value="1">
   Mode "0" allows values to be entered as percentages, "1" takes absolute values.

   <param name="keymode" value="1">
   Mode "0" shows key values in a box, "1" displays them around the outside of the pie chart.

   <param name="noofvals" value="3">
   In this parameter you supply the number of wedges to be shown.

   <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>

See more examples of how the HTML tags can be used.

Pie Charts | Bar Charts | Line Graphs | Pricing | Purchase | Contact Us
Graphs Charts .com is a division of Roan Software Ltd.
Graphs