Swiftchart      to create your own chart and graph New! Swiftbarcodes! Barcodes by Swiftchart
EAN, UPC and many more ...
  Home | Examples | Parameters | Products | Contact us | Site map | FAQ Quick links : Get evaluation | Order
  v2_40 | v2_30 | v2_20 | v2_10 | v2_00 | v1_90 | v1_80 | v1_70 | v1_60 | v1_50 | v1_40 | v1_30 | v1_20 | v1_10 | v1_01

Swiftchart parameters for version v1_20

Parameter name
Description
Required
Values
Default
Example
chart_type Type of chart Yes BAR
BAR3D
LINE
LINE3D
STACKEDBAR
STACKEDLINE
STACKEDBAR3D
STACKEDLINE3D
STACKEDBARPCT
STACKEDLINEPCT
STACKEDBAR3DPCT
STACKEDLINE3DPCT
PIE
PIE3D
HORBAR
HORBAR3D
VERSION

BAR: simple bar chart
BAR3D: 3D bar chart
LINE: simple line chart
LINE3D: 3D line chart
STACKEDBAR: stacked bar chart stacking multiple series
STACKEDLINE: stacked line chart stacking multiple series
STACKEDBAR3D: stacked 3D bar chart stacking multiple series
STACKEDLINE3D: stacked 3D line chart stacking multiple series
STACKEDBARPCT: stacked bar chart 100 % stacking multiple series
STACKEDLINEPCT: stacked line chart 100 % stacking multiple series
STACKEDBAR3DPCT: stacked 3D bar chart 100 % stacking multiple series
STACKEDLINE3DPCT: stacked 3D line chart 100 % stacking multiple series
PIE: Pie chart
PIE3D: 3D pie chart
HORBAR: Horizontal bar chart
HORBAR3D: Horizontal 3D bar chart
VERSION: get version of applet
No default value <param name="chart_type" value="BAR3D">
x_value This parameter contains the actual x serie in comma delimited form. Yes Any comma delimited string No default value <param name="x_value" value="Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec">
s1_value (applies to s1_value - s30_value) Contains the actual data (serie) to be ploted. Data must be comma delimited and the number of delimited values must be the same as the x_value and any other series (s1_value - s30_value) Yes s1_value is required, series s2 till s30 are optional Any comma delimited string. Each delimited value must be a number. Negative or positive values are allowed and "." must be used as decimal pointer. No default value <param name="s1_value" value="3.7,3.7,7.3,9.7,13.7,16.5,19.0,18.7,16.1,12.5,7.3,5.2">
s1_label (applies to s1_label - s30_label) Contains the series label as displayed in the legend. Yes if the series is to be used Any string No default value <param name="s1_label" value="Paris">
s1_color (applies to s1_color - s30_color) Sets the color of the plotted serie. No Standard color coding as used for HTML (eg FF9966). Defaults in place, depending on the serie. <param name="s1_color" value="99CC66">
s1_line_weight (applies to s1_line_weight - s30_line_weight) Used to define the line weight if chart type is LINE. No Integer greater than 0 2 <param name="s1_line_weight" value="4">
s1_line_marker (applies to s1_line_marker - s30_line_marker) Allows to use line markers, only used for chart type is LINE. No Y
N

Y: shows line markers
N: hides line markers
N <param name="s1_line_marker" value="Y">
s1_line_marker_type (applies to s1_line_marker_type - s30_line_marker_type) If line marker is shown, this parameter allows to set the type of line marker, only used for chart type is LINE. No 1
2
3
4
5
6
7
8
9

1: diamond
2: rectangle
3: triangle
4: circle
5: x shape
6: cross
6: empty circle
6: empty rectangle
9: empty diamond
Defaults are set depending on serie <param name="s1_line_marker_type" value="2">
depth3d Allows to set the depth of the 3D bar. This value is only used with the 3D chart type. No Positive number. 100 <param name="depth3d" value="100">
applet_bg Sets the applet background color. No Standard color coding as used for HTML (eg FF9966). FFFFFF <param name="applet_bg" value="EEEEEE">
chart_bg Sets the chart background color. No Standard color coding as used for HTML (eg FF9966). CCCCCC <param name="chart_bg" value="DDDDDD">
title_text Title text. Yes Any text No default value <param name="title_text" value="Sales per month">
title_font_color Sets the color of the title font. No Standard color coding as used for HTML (eg FF9966). 000000 <param name="title_font_color" value="FF9999">
title_font_size Sets the size of the title font. No Any number 14 <param name="title_font_size" value="18">
title_font_type Font type of the title font. No Helvetica, Courier, TimesRoman, Dialog, Symbol, Sans Serif, Arial and Wingdings Arial <param name="title_font_type" value="Courier">
title_font_style Font style the title font. No PLAIN
BOLD
ITALIC
PLAIN <param name="title_font_style" value="ITALIC">
x_axis_font_orientation X axis text orientation No HORIZONTAL
LEFT
RIGHT

HORIZONTAL: x axis text printed horizontal
LEFT: x axis text 90 degrees rotated anti clockwise
RIGHT: x axis text 90 degrees rotated clockwise
HORIZONTAL <param name="x_axis_font_orientation" value="LEFT">
x_axis_font_color Sets the color of the x axis font. No Standard color coding as used for HTML (eg FF9966). 000000 <param name="x_axis_font_color" value="FF9999">
x_axis_font_size Sets the size of the x axis font. No Any number 14 <param name="x_axis_font_size" value="18">
x_axis_font_type Font type of the x axis font. No Helvetica, Courier, TimesRoman, Dialog, Symbol, Sans Serif, Arial and Wingdings Arial <param name="x_axis_font_type" value="Courier">
x_axis_font_style Font style the x axis font. No PLAIN
BOLD
ITALIC
PLAIN <param name="x_axis_font_style" value="ITALIC">
x_axis_occurence Sets the how often the x axis values do occur (eg 1 shows all x axis values, 2 every second, 10 every 10th). No Any integer greater than 0 (1, 2, 3, 4, ...). 1 <param name="x_axis_occurence" value="10">
x_axis_value_display Display or hide x axis values. No Y
N

Y: show x axis values
N: hide x axis values.
Y <param name="x_axis_value_display" value="N">
x_axis_title Show x axis title Y/N No Y
N
Y: x axis title is shown
N: x axis title is not shown
N <param name="x_axis_title" value="Y">
x_axis_title_text X axis title No, if parameter x_axis_tite=Y then required Any text No default <param name="x_axis_title_text" value="Month of year">
x_axis_title_font_color Sets the color of the x axis title font. No Standard color coding as used for HTML (eg FF9966). 000000 <param name="x_axis_title_font_color" value="FF9999">
x_axis_title_font_size Sets the size of the x axis title font. No Any number 12 <param name="x_axis_title_font_size" value="18">
x_axis_title_font_type Font type of the x axis title font. No Helvetica, Courier, TimesRoman, Dialog, Symbol, Sans Serif, Arial and Wingdings Arial <param name="x_axis_title_font_type" value="Courier">
y_min Allows to set the minimum y axis value No Any number None <param name="y_min" value="50">
y_max Allows to set the maximum y axis value No Any number None <param name="y_max" value="150">
y_unit Allows to set the y-axis unit (step between two y-axis values) No Any number greater than 0 None <param name="y_unit" value="50">
y_axis_title Show y axis title Y/N No Y
N
Y: y axis title is shown
N: y axis title is not shown
N <param name="y_axis_title" value="Y">
y_axis_title_text Y axis title No, if parameter y_axis_tite=Y then required Any text No default <param name="y_axis_title_text" value="Month of year">
y_axis_title_font_color Sets the color of the y axis title font. No Standard color coding as used for HTML (eg FF9966). 000000 <param name="y_axis_title_font_color" value="FF9999">
y_axis_title_font_size Sets the size of the y axis title font. No Any number 12 <param name="y_axis_title_font_size" value="18">
y_axis_title_font_type Font type of the y axis title font. No Helvetica, Courier, TimesRoman, Dialog, Symbol, Sans Serif, Arial and Wingdings Arial <param name="y_axis_title_font_type" value="Courier">
legend_position Position of legend. No RIGHT
LEFT
TOP
BOTTOM
NONE

RIGHT: positions the legend right
LEFT: positions the legend left
TOP: positions the legend just beneath the title
BOTTOM: positions the legend beneath the chart
NONE: legend is not displayed
RIGHT <param name="legend_position" value="LEFT">
legend_bg Sets the legend background color. No Standard color coding as used for HTML (eg FF9966). FFFFFF <param name="legend_bg" value="DDDDDD">
legend_border Sets the legend border color. No Standard color coding as used for HTML (eg FF9966). 000000 <param name="legend_border" value="DDDDDD">
legend_font_color Sets the color of the legend font. No Standard color coding as used for HTML (eg FF9966). 000000 <param name="legend_font_color" value="FF9999">
legend_font_size Sets the size of the legend font. No Any number 14 <param name="legend_font_size" value="18">
legend_font_type Font type of the legend font. No Helvetica, Courier, TimesRoman, Dialog, Symbol, Sans Serif, Arial and Wingdings Arial <param name="legend_font_type" value="Courier">
legend_font_style Font style the legend font. No PLAIN
BOLD
ITALIC
PLAIN <param name="legend_font_style" value="ITALIC">
data_value Allows to display the actual data value. No NONE
INSIDE
OUTSIDE
AUTO

NONE: data value is not displayed
INSIDE: the data value is displayed within the ploted graph data
OUTSIDE: the data value is displayed outside the ploted graph data. OUTSIDE is not available for stacked charts
AUTO: can only be used together with data_value_font_orientation=LEFT or RIGHT, displays the data value either inside or outside the bar depending on space (Exception: if chart type HORBAR or HORBAR3D AUTO works with data_value_font_orientation=HORIZONTAL).
NONE <param name="data_value" value="18">
data_value_font_color Sets the color of the data_value font. No Standard color coding as used for HTML (eg FF9966). 000000 <param name="data_value_font_color" value="FF9999">
data_value_font_size Sets the size of the data_value font. No Any number 10 <param name="data_value_font_size" value="18">
data_value_font_type Font type of the data value font. No Helvetica, Courier, TimesRoman, Dialog, Symbol, Sans Serif, Arial and Wingdings Arial <param name="data_value_font_type" value="Courier">
data_value_font_style Font style the data value font. No PLAIN
BOLD
ITALIC
PLAIN <param name="data_value_font_style" value="ITALIC">
data_value_font_orientation Orientation of the data value font. Can only be used for BAR and BAR3D No HORIZONTAL
LEFT
RIGHT

HORIZONTAL: default
LEFT: rotated to the left
RIGHT: rotated to the right. (Chart type HORBAR and HORBAR3D do only allow HORIZONTAL).
HORIZONTAL <param name="data_value_font_orientation" value="LEFT">
data_value_digits Digits displayed for data values. Can only be used for the following chart types: PIE, PIE3D, STACKEDBARPCT, STACKEDBAR3DPCT, STACKEDLINEPCT and STACKEDLINE3DPCT. No 0, 1, 2 or 3 2 <param name="data_value_digits" value="1">
grid_line_hor To enable and disable horizontal grid lines. No Y
N

Y: enable
N: disable
Y <param name="grid_line_hor" value="N">
grid_line_hor_color Sets the color of the horizontal grid line. No Standard color coding as used for HTML (eg FF9966). 000000 <param name="grid_line_hor_color" value="999999">
grid_line_hor_type Type of horizontal grid line. No 0 or any integer. 0 displays a non dashed line, while any integer greater 0 display a dashed line - the smaller the integer the thiner the dashes. 1 <param name="grid_line_hor_type" value="0">
grid_line_ver To enable and disable vertical grid lines. No Y
N

Y: enable
N: disable
Y <param name="grid_line_ver" value="N">
grid_line_ver_color Sets the color of the vertical grid line. No Standard color coding as used for HTML (eg FF9966). 000000 <param name="grid_line_ver_color" value="999999">
grid_line_ver_type Type of vertical grid line. No 0 or any integer. 0 displays a non dashed line, while any integer greater 0 display a dashed line - the smaller the integer the thiner the dashes. 1 <param name="grid_line_ver_type" value="0">
bar_width Sets the width of bars (for any bar charts). No 1 - 100 60 <param name="bar_width" value="80">
csv_type Defines the type of CSV No NONE
URL

NONE: Chart is not based on CSV file
URL: Chart is based on CSV file and the location of the CSV file is given by a URL
NONE <param name="csv_type" value="url">
csv_location Defines the location (URL) of the CSV file No (Yes if csv_type=url) A relative path orvalid url (including http://) No default <param name="csv_location" value="/csv/data.csv">