Pie 3D Charts Parameters  

 


Setting up values:
You can add any number of slices to your pie chart with 2 or 3 lines.

Parameter
Info
Code example
"val_x" sets up the value of the item to be added. (x is the number by order of the item) <PARAM name="val_1" value="30">
"description_x" sets the description of the item through a string. This description appears in the legend. <PARAM name="description_1" value="item1">
"color_x" sets up the color the item will be represented with. This line can be omitted. In this case a default color will be used. <PARAM name="color_1" value="255,0,0 ">

Setting up options: Options are not strictly necessary for the applet to show the chart, but used to customize it for everybody needs and preferences.

No.
Parameter
Info
Code example
1.
"title" the title displayed above the chart: <PARAM name="title" value="Pie 3D Chart Demo">
2.
"set_title_off " sets the chart not to show the title. It does not need to be set to a value. <PARAM name="show_title_off" >
3.
"title_position_x" sets the X coordinate the title will be displayed at, if parameter "show_title_off " not set.
<PARAM name=" title_position_x " value="30 ">
4.
"title_position_y" sets the Y coordinate the title will be displayed at, if parameter "show_title_off " not set.
<PARAM name=" title_position_y" value="40 ">
5.
"show_legend_on_right" there are 2 ways of displaying the legend. When this flag is set, the legend is showed in the right of the chart, otherwise at the bottom <PARAM name= "show_legend_on_right">
6.
"show_border_off" sets off showing the border around the chart <PARAM name="show_border_off">
7.
"pie_x" the X coordinate where the pie will be displayed at. Default it is computed considering the applet sizes. <PARAM name="pie_x" value="50">
8.
"pie_y" the Ycoordinate where the pie will be displayed at. Default it is computed considering the applet sizes. <PARAM name="pie_y" value="50">
9.
"radius" the value for the pie radius. Default it is computed considering the applet sizes. <PARAM name="radius" value="200">
10.
"depth" the pie depth. Default value is 30 <PARAM name="depth" value="30">
11.
"aspect_fudge" the fudge aspect is a double value that measures the pie 3D slope on the Z axis. The default value is 2.5. <PARAM name="aspect_fudge" value="3.5">
12.
"legend_x" the X coordinate where legend has to be displayed. Default it is computed considering the applet sizes. <PARAM name="legend_x" value="20">
13
"legend_y" the Y coordinate where legend has to be displayed. Default it is computed considering the applet sizes. <PARAM name="legend_y" value="70">
14.
"legend_w" legend width. Default it is computed considering the applet sizes <PARAM name="legend_w" value="100">
15.
"legend_h" legend height. Default it is computed considering the applet sizes <PARAM name="legend_h" value="80">
16.
"transparency" float value from 0 to 1, sets up transparency. Default set on 0.8. <PARAM name="transparency" value=".9">
17.

"show_percents_
on_legend"

for value 1 shows percent values on legend, after items description, for value 0 sets off this options. Default is set off. <PARAM name="show_percents_on_legend">
18.
"show_percents_
on_slices"
for value 1 shows percent values on slices, for value 0 sets off this options. Default is set off.

<PARAM name="show_percents_on_slices">

19.
"show_percents_
beside_slices"
for value 1 shows percent values beside slices, for value 0 sets off this options. Default is set off. <PARAM name="show_percents_beside_slices">
20.
"show_indicator_lines" for the case show_percents_beside_slices is on shows indicator lines from percent to slices. <PARAM name="show_indicator_lines">
21.
"backg_color" sets background color using the RGB components. Default color is white. <PARAM name="backg_color" value="200,200,200">
22.
"title_color" sets title color using the RGB components. Default color is black. <PARAM name="title_color" value="0,0,100">
23.
"legend_color" sets legend font color using the RGB components. Default color is gray. <PARAM name="legend_color" value="0,0,0">
24. "border_color" when the border is not set off sets border color using the RGB components. Default color is gray. <PARAM name="border_color" value="200,200,200">
25.
"set_legend_off" sets off legend <PARAM name="set_legend_off">
26.
"legend_rows" sets the number of rows the items are represented for the case the legend is at the bottom (show_legend_on_right not set) <PARAM name="legend_rows" value="2" >
27. "legend_distance" the distance between the columns for the case the legend is at the bottom (show_legend_on_right not set) <PARAM name="legend_distance" value="50">
28. "legend_border_off" sets off the legend border <PARAM name="legend_border_off" >
29.
"show_values_on_slices" shows values on pie slices <PARAM name="show_values_on_slices" >

 


Copyright Reconn.us © 2005. All Rights Reserved.