Vertical Bar 3D Charts Parameters  

 


Setting up values:
You can add any number of bars to your vertical bar 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.

0
No.
Parameter
Info
Code example
1.
"title" the title displayed above the chart: <PARAM name="title" value="Vertical Bar 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 Ycoordinate 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.
"chart_x" the X coordinate of the frame the chart is displayed in. Default it is computed considering the applet sizes. <PARAM name="chart_x" value=”50”>
8.
"chart_y" the Ycoordinate of the frame the chart is displayed in. Default it is computed considering the applet sizes. <PARAM name="chart_y" value=”70”>
9.
"chart_w" the width of the frame the chart is displayed in. Default it is computed considering the applet sizes. <PARAM name="chart_w" value=”200”>
10.
"chart_h" the height of the frame the chart is displayed in. Default it is computed considering the applet sizes. <PARAM name="chart_h" value=”100”>
11.
"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 ">
12
"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">
13.
"legend_w" legend width. Default it is computed considering the applet sizes <PARAM name="legend_w" value="100 ">
14.
"legend_h" legend height. Default it is computed considering the applet sizes <PARAM name="legend_h" value="80 ">
15.
"transparency" float value from 0 to 1, sets up transparency. Default set on 0.8. <PARAM name="transparency" value=".9 ">
16.

"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 on. <PARAM name="show_percents_on_legend">
17.
"x_axis_description" description for X axis <PARAM name="x_axis_description" value="X axis">
18.
"y_axis_description" description for Y axis <PARAM name="y_axis_description" value="Y axis">
19.
"divisions_number" the number of divisions of OX axis. Default set on 12; <PARAM name="divisions_number" value="10">
20.
"backg_color" sets background color using the RGB components. Default color is white. <PARAM name="backg_color" value="200,200,200">
21.
"grid_color" sets grid color using the RGB components. Default color is gray. <PARAM name="grid_color" value="0,0,255">
22.
"back_grid_color" sets title color using the RGB components. Default color is gray. <PARAM name="back_grid_color" value="255,0,0">
23.
"title_color" sets title color using the RGB components. Default color is black. <PARAM name="title_color" value="0,0,100">
24.
"legend_color" sets legend font color using the RGB components. Default color is gray. <PARAM name="legend_color" value="0,0,0">
25.
"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">
26.
"axis_descr_color" sets title color used to display axis description the RGB components. Default color is black. <PARAM name="title_color" value="0,255,0">
27.
"vert_grid_off" sets off vertical grid <PARAM name="vert_grid_off">
28.
"set_legend_off" sets off legend <PARAM name="set_legend_off">
29.
"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" >
30.
"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">
31. "legend_border_off" sets off the legend border <PARAM name="legend_border_off" >
32. "show_description_on_x_axis" Shows on X axis instead of numbers the description given in "description_x" field. <PARAM name="show_description_on_x_axis" >
33. "show_values_on_top_of_bars" Shows values on top of bars. <PARAM name="show_values_on_top_of_bars" >

 


Copyright Reconn.us © 2005. All Rights Reserved.