Horizontal Bar 3D Charts Parameters  

 


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

No.
Parameter
Info
Code example
1.
"title" the title displayed above the chart: <PARAM name="title" value="Horizontal Bar 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. "legend_border_off" sets off the legend border <PARAM name="legend_border_off" >
4. "show_description_on_y_axis" Shows on Y axis instead of numbers the description given in "description_x" field. <PARAM name="show_description_on_y_axis" >
5. "show_values_on_top_of_bars" Shows values on top of bars. <PARAM name="show_values_on_top_of_bars" >
6.
"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 ">
7.
"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 ">
8.
"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">
9.
"show_border_off" sets off showing the border around the chart <PARAM name=" show_border_off">
10.
"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”>
11.
"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”>
12.
"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”>
13.
"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”>
14.
"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">
15
"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">
16.
"legend_w" legend width. Default it is computed considering the applet sizes <PARAM name="legend_w" value="100">
17.
"legend_h" legend height. Default it is computed considering the applet sizes <PARAM name="legend_h" value="80">
18.
"transparency" float value from 0 to 1, sets up transparency. Default set on 0.8. <PARAM name="transparency" value=".9 ">
19.

"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">
20.
"x_axis_description" description for X axis <PARAM name="x_axis_description" value="X axis">
21.
"y_axis_description" description for Y axis <PARAM name="y_axis_description" value="Y axis">
22.
"oblique_values" when is set on the values on the OX axis are displayed bent with an angle specified by “angle” param. <PARAM name="oblique_values">
23.
"angle" if “oblique_values” is set specifies the angle that the values on the OX axis are bent with. Default is set on 30. <PARAM name="angle" value="30">
24.
"divisions_number" the number of divisions of OX axis. Default set on 12; <PARAM name="divisions_number" value="10">
25.
"backg_color" sets background color using the RGB components. Default color is white. <PARAM name="backg_color" value="200,200,200">
26.
"grid_color" sets grid color using the RGB components. Default color is gray. <PARAM name="grid_color" value="0,0,255">
27.
"back_grid_color" sets title color using the RGB components. Default color is gray. <PARAM name="back_grid_color" value="255,0,0">
28.
"title_color" sets title color using the RGB components. Default color is black. <PARAM name="title_color" value="0,0,100">
29.
"legend_color" sets legend font color using the RGB components. Default color is gray. <PARAM name="legend_color" value="0,0,0">
30.
"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">
31.
"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">
32.
"hor_grid_off" sets off horizontal grid <PARAM name="hor_grid_off">
33.
"set_legend_off" sets off legend <PARAM name="set_legend_off">
34.
"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" >
35.
"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">


Copyright Reconn.us © 2005. All Rights Reserved.