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_60

Parameter name / Description
Required
Allowed values
Default
Example
Applet
Application
chart_type
Sets type of chart
Yes 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
XY
XY scatter chart
XYBAR3D
Two dimensional 3D bar chart
XYLINE3D
Two dimensional 3D line chart
DOUGHNUT
doughnut chart
STOCK1 [New]
Min-Max stock chart
STOCK2 [New]
Min-Max-Close stock chart
STOCK3 [New]
Open-Min-Max-Close stock chart
VERSION
Get version of Swiftchart software
BAR Bar Graph / Chart Example

Bar 3D Graph / Chart Example

Line Graph / Chart Example

Line 3D Graph / Chart Example

Stacked Bar Graph / Chart Example

Stacked Line Graph / Chart Example

Stacked Bar 3D Graph / Chart Example

Stacked Line 3D Graph / Chart Example

Stacked Line Percentage Graph / Chart Example

Pie Graph / Chart Example

Pie 3D Graph / Chart Example

Horizontal Bar Graph / Chart Example

Horizontal Bar 3D Graph / Chart Example

XY Graph / Chart Example

XY Bar 3D Graph / Chart Example

XY Line 3D Graph / Chart Example

Doughnut Graph / Chart Example

Min Max Stock Graph / Chart Example

Min Max Close Stock Graph / Chart Example

Open Min Max Close Stock Graph / Chart Example
Yes Yes
x_value
This parameter contains the actual x serie in comma delimited form.
Yes Any comma delimited string Jan,Feb,Mar Setting X Values Example Yes Yes
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. 10,12,17 Setting Series Example Yes Yes
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 default data Setting Two labels Example Yes Yes
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. Setting Serie Color Example Yes Yes
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 Line Weight Example Yes Yes
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 Shows line markers
N Hides line markers
N Line Marker Example Yes Yes
s1_pie_explode
Applies to s1_pie_explode - s30_pie_explode
Allows to set by how much an individual pie should "explode" (only to be used for PIE and PIE3D chart types
No Value greater or equal 0 0 Pie Slice Exploed Example Yes Yes
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 diamond
2 rectangle
3 triangle
4 circle
5 x shape
6 cross
7 empty circle
8 empty rectangle
9 empty diamond
10 small circle
11 tiny circle
12 small rectangle
13 tiny rectangle
Defaults are set depending on serie Line Marker Type Example Yes Yes
s1_sub_chart [New] Previously s1_line_chart
applies to s1_line_chart - s30_line_chart
Allows to display a serie as line. Can be used for chart types BAR and BAR3D, LINE, STOCK1, STOCK2, STOCK3.
No BAR display serie as a bar
LINE display serie as a line
N display serie as defined by the chart_type
N Sub Graph / Chart (Mixed Bar and Line) Example

Sub (Mixed Bar and Stock) Graph / Chart Example
Yes Yes
s1_trend
applies to s1_trend - s30_trend
Generates a linear trend based on the serie values.
No Y trend displayed
N trend not displayed
N Trend Example Yes Yes
s1_trend_label
applies to s1_trend_label - s30_trend_label
The label for the calculated trend.
No Any text Trend [i] Trend Example Yes Yes
s1_trend_line_marker
Applies to s1_trend_line_marker - s30_trend_line_marker
Allows to use line markers for trend.
No Y Shows line markers
N Hides line markers
N Trend Example Yes Yes
s1_trend_line_marker_type
applies to s1_trend_line_marker_type - s30_trend_line_marker_type
If trend line marker is shown, this parameter allows to set the type of line marker for the trend.
No 1 diamond
2 rectangle
3 triangle
4 circle
5 x shape
6 cross
7 empty circle
8 empty rectangle
9 empty diamond
10 small circle
11 tiny circle
12 small rectangle
13 tiny rectangle
Defaults are set depending on serie Trend Example Yes Yes
s1_trend_line_weight
Applies to s1_trend_line_weight - s30_trend_line_weight
Used to define the line weight for the trend.
No Integer greater than 0 2 Trend Example Yes Yes
s1_trend_color 
Applies to s1_trend_color - s30_trend_color
Sets the color of the trend.
No Standard color coding as used for HTML (eg FF9966). Defaults in place, depending on the serie. Trend Example Yes Yes
s1_group [New]
Applies to s1_group - s30_group
Defines to which group each serie belongs to.
No 1 to 10 1 Group Example Yes Yes
group1_y_axis_position [New]
Applies to group1_y_axis_position - group10_y_axis_position
Sets the y axis position for each group.
No The value is based on a two character string. The first character is either L or R defining the left-right position, while the second character defines how many multiple charts are generated. Across all defined groups there must be at least one second character equal 1 and each second character must be either the same as another second character or not more than 1 greater/smaller than any other second character. L1 Group Example Yes Yes
group1_y_min [New]
Applies to group1_y_min - group10_y_min
Allows to set the minimum y axis value for a given group.
No Any number None Group Example Yes Yes
group1_y_max [New]
Applies to group1_y_max group10_y_max
Allows to set the maximum y axis value for a given group.
No Any number None Group Example Yes Yes
group1_y_unit [New]
Applies to group1_y_unit group10_y_unit
Allows to set the y-axis unit (step between two y-axis values).
No Any number greater than 0 None Group Example Yes Yes
group1_y_unit_display [New]
Applies to group1_y_unit_display group10_y_unit_display
Allows to show or hide the y-axis unit.
No Y Display y_unit
N hide y_unit
Y Group Example Yes Yes
group1_y_unit_color [New]
Applies to group1__y_unit_color group10__y_unit_color
Sets the colorof the y unit.
No Standard color coding as used for HTML (eg FF9966). 000000 Group Example Yes Yes
group1_grid_line_hor [New]
Applies to group1_grid_line_hor group10_grid_line_hor
To enable and disable horizontal grid lines.
No Y enable
N disable
Y Group Example Yes Yes
group1_grid_line_hor_type [New]
Applies to group1_grid_line_hor_type group10_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 Group Example Yes Yes
group1_grid_line_hor_color [New]
Applies to group1_grid_line_hor_color group10_grid_line_hor_color
Allows to set the minimum y axis value for a given group.
No Standard color coding as used for HTML (eg FF9966). 000000 Group Example Yes Yes
depth3d
Allows to set the depth of the 3D bar. This value is only used with the 3D chart type.
No Positive number 100 3D Depth Example Yes Yes
bg (also applet_bg allowed)
Sets the background color.
No Standard color coding as used for HTML (eg FF9966). FFFFFF Background Color Example Yes Yes
chart_bg
Sets the chart background color.
No Standard color coding as used for HTML (eg FF9966). CCCCCC Chart / Graph Background Color Example Yes Yes
chart_border_color
Sets the chart border color.
No Standard color coding as used for HTML (eg FF9966). 000000 Chart / Graph Border Color Example Yes Yes
chart_border_display
Displays or hides the chart border
No Y Displays the chart border
N Hides the chart border
Y Chart / Graph Border Display Example Yes Yes
title_text
Title text
Yes Any text Default chart <param name="title_text" value="Sales per month"> Yes Yes
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"> Yes Yes
title_font_size
Sets the size of the title font
No Any number 14 <param name="title_font_size" value="18"> Yes Yes
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"> Yes Yes
title_font_style
Font style the title font.
No PLAIN
BOLD
ITALIC
PLAIN <param name="title_font_style" value="ITALIC"> Yes Yes
title_sub1_text
Sub-title 1 text
Yes Any text Default chart <param name="title_sub1_text" value="For the period 2003 to 2004"> Yes Yes
title_sub1_font_color
Sets the color of the sub-title 1 font.
No Standard color coding as used for HTML (eg FF9966). 000000 <param name="title_sub1_font_color" value="FF9999"> Yes Yes
title_sub1_font_size
Sets the size of the sub-title 1 font
No Any number 14 <param name="title_sub1_font_size" value="10"> Yes Yes
title_sub1_font_type
Font type of the sub-title 1 font.
No Helvetica, Courier, TimesRoman, Dialog, Symbol, Sans Serif, Arial and Wingdings Arial <param name="title_sub1_font_type" value="Courier"> Yes Yes
title_sub1_font_style
Font style the sub-title 1 font.
No PLAIN
BOLD
ITALIC
PLAIN <param name="title_sub1_font_style" value="ITALIC"> Yes Yes
title_sub2_text
Sub-title 2 text
Yes Any text Default chart <param name="title_sub2_text" value="In millions"> Yes Yes
title_sub2_font_color
Sets the color of the sub-title 2 font.
No Standard color coding as used for HTML (eg FF9966). 000000 <param name="title_sub2_font_color" value="FF9999"> Yes Yes
title_sub2_font_size
Sets the size of the sub-title 2 font
No Any number 14 <param name="title_sub2_font_size" value="10"> Yes Yes
title_sub2_font_type
Font type of the sub-title 2 font.
No Helvetica, Courier, TimesRoman, Dialog, Symbol, Sans Serif, Arial and Wingdings Arial <param name="title_sub2_font_type" value="Courier"> Yes Yes
title_sub2_font_style
Font style the sub-title 2 font.
No PLAIN
BOLD
ITALIC
PLAIN <param name="title_sub2_font_style" value="ITALIC"> Yes Yes
x_axis_font_orientation
X axis text orientation
No 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"> Yes Yes
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"> Yes Yes
x_axis_font_sizeSets the size of the x axis font. No Any number 12 <param name="x_axis_font_size" value="18"> Yes Yes
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"> Yes Yes
x_axis_font_style
Font style the x axis font.
No PLAIN
BOLD
ITALIC
PLAIN <param name="x_axis_font_style" value="ITALIC"> Yes Yes
x_axis_occurrence
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_occurrence" value="10"> Yes Yes
x_axis_value_display
Display or hide x axis values.
No Y show x axis values
N hide x axis values.
Y <param name="x_axis_value_display" value="N"> Yes Yes
x_axis_title
Show x axis title Y/N
No Y x axis title is shown
N x axis title is not shown
N <param name="x_axis_title" value="Y"> Yes Yes
x_axis_title_text
X axis title
No, if parameter x_axis_tite=Y then required Any text No text <param name="x_axis_title_text" value="Month of year"> Yes Yes
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"> Yes Yes
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"> Yes Yes
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"> Yes Yes
y_min
Allows to set the minimum y axis value
No Any number None <param name="y_min" value="50"> Yes Yes
y_max
Allows to set the maximum y axis value
No Any number None <param name="y_max" value="150"> Yes Yes
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"> Yes Yes
y_unit_display
Allows to show or hide the y-axis unit
No Y Display y_unit
N hide y_unit
Y <param name="y_unit_display" value="N"> Yes Yes
y_unit_color
Sets the colorof the y unit
No Standard color coding as used for HTML (eg FF9966). 000000 <param name="y_unit_color" value="FF0000"> Yes Yes
x_min
Allows to set the minimum x axis value (used for XY chart type)
No Any number None <param name="x_min" value="50"> Yes Yes
x_max
Allows to set the maximum x axis value (used for XY chart type)
No Any number None <param name="x_max" value="150"> Yes Yes
x_unit
Allows to set the y-axis unit (step between two x-axis values, used for XY chart type)
No Any number greater than 0 None <param name="x_unit" value="50"> Yes Yes
x_unit_display
Allows to show or hide the x-axis unit (used for XY chart type)
No Y Display x_unit
N hide x_unit
Y <param name="x_unit_display" value="N"> Yes Yes
x_unit_color
Sets the colorof the x unit (used for XY chart type)
No Standard color coding as used for HTML (eg FF9966). 000000 <param name="x_unit_color" value="FF0000"> Yes Yes
y_axis_title
Show y axis title Y/N
No Y y axis title is shown
N y axis title is not shown
N <param name="y_axis_title" value="Y"> Yes Yes
y_axis_title_text
Y axis title
No, if parameter y_axis_tite=Y then required Any text No text <param name="y_axis_title_text" value="Month of year"> Yes Yes
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"> Yes Yes
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"> Yes Yes
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"> Yes Yes
legend_position
Position of legend.
No 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
INTOP [New] positions the legend inside the chart on the top
INTOPLEFT [New] positions the legend inside the chart on the top left
INTOPRIGHT [New] positions the legend inside the chart on the top right
INBOTTOM [New] positions the legend inside the chart on the bottom
INBOTTOMLEFT [New] positions the legend inside the chart on the bottom left
INBOTTOMRIGHT [New] positions the legend inside the chart on the bottom right
NONE legend is not displayed
RIGHT <param name="legend_position" value="LEFT"> Yes Yes
legend_bg
Sets the legend background color.
No Standard color coding as used for HTML (eg FF9966). FFFFFF <param name="legend_bg" value="DDDDDD"> Yes Yes
legend_border
Sets the legend border color.
No Standard color coding as used for HTML (eg FF9966). 000000 <param name="legend_border" value="DDDDDD"> Yes Yes
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"> Yes Yes
legend_font_size
Sets the size of the legend font.
No Any number 14 <param name="legend_font_size" value="18"> Yes Yes
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"> Yes Yes
legend_font_style
Font style the legend font.
No PLAIN
BOLD
ITALIC
PLAIN <param name="legend_font_style" value="ITALIC"> Yes Yes
data_value
Allows to display the actual data value.
No 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"> Yes Yes
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"> Yes Yes
data_value_font_size
Sets the size of the data_value font.
No Any number 10 <param name="data_value_font_size" value="18"> Yes Yes
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"> Yes Yes
data_value_font_style
Font style the data value font.
No PLAIN
BOLD
ITALIC
PLAIN <param name="data_value_font_style" value="ITALIC"> Yes Yes
data_value_font_orientation
Orientation of the data value font. Can only be used for BAR and BAR3D
No 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"> Yes Yes
data_value_pct
Digits displays data values as percentage. Can only be used for the following chart types: PIE, PIE3D, STACKEDBARPCT, STACKEDBAR3DPCT, STACKEDLINEPCT and STACKEDLINE3DPCT DOUGHNUT.
No Y display as percentage
N display as number
N <param name="data_value_pct" value="Y"> Yes Yes
data_value_digits
Digits displayed for data values. Can only be used for the following chart types: PIE, PIE3D, STACKEDBARPCT, STACKEDBAR3DPCT, STACKEDLINEPCT and STACKEDLINE3DPCT DOUGHNUT.
No 0, 1, 2 or 3 2 <param name="data_value_digits" value="1"> Yes Yes
data_value_postfix
Text at the end of each displayed data value.
No Any text 2 <param name="data_value_postfix" value="£"> Yes Yes
data_value_prefix
Text in front of data_value data value.
No Any text N <param name="data_value_prefix" value="$"> Yes Yes
grid_line_hor
To enable and disable horizontal grid lines.
No Y enable
N disable
Y <param name="grid_line_hor" value="N"> Yes Yes
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"> Yes Yes
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"> Yes Yes
grid_line_ver
To enable and disable vertical grid lines.
No Y enable
N disable
N <param name="grid_line_ver" value="N"> Yes Yes
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"> Yes Yes
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"> Yes Yes
bar_width
Sets the width of bars (for any bar charts).
No 1 - 100 60 <param name="bar_width" value="80"> Yes Yes
csv_type
Defines the type of CSV
No 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"> Yes No
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"> Yes No
csv_reload_time
Sets the time in milliseconds to reload the CSV data
No 0 or positive integer

0: CSV data not reloded
0 <param name="csv_reload_time" value="5000"> Yes No
popup
Allows using popup labels when moving over chart area
No Y Popup labels are enabled
N Popup labels are disabled
N <param name="popup" value="Y"> Yes Yes
popup_text
Sets the text for popup labels. Allows to use @**@ parameters for serie labels, x-axis values and data values
No Any text

Special parameters:
@SE@: Shows Serie label
@XV@: Shows x-axis values
@DA@: Shows data values

The following parameters are only available for the java applet version:
<BR>: Line break
<B></B>: Start and end of bold text
<I></I>: Start and end of italic text
N <param name="popup_text" value="<B>Serie: </B>@se@<BR> Yes Yes
popup_bg_color
Sets the popup background color.
No Standard color coding as used for HTML (eg FF9966). FFFF00 <param name="popup_bg_color" value="00FFFF"> Yes No
popup_border_color
Sets the popup border color.
No Standard color coding as used for HTML (eg FF9966). FFFF00 <param name="popup_border_color" value="000000"> Yes No
popup_font_color
Sets the color of the popup font.
No Standard color coding as used for HTML (eg FF9966). 000000 <param name="popup_font_color" value="FF9999"> Yes No
popup_font_size
Sets the size of the popup font.
No Any number 12 <param name="popup_font_size" value="16"> Yes No
popup_font_type
Font type of the popup font.
No Helvetica, Courier, TimesRoman, Dialog, Symbol, Sans Serif, Arial and Wingdings Arial <param name="popup_font_type" value="Courier"> Yes No
url_drill
Enables url based drill downs and passing context based information to url's
No Y url drill down is enabled
N url drilldown is disabled
N <param name="url_drill" value="Y"> Yes Yes
url_drill_newwindow
Defines if new web page is opened in new window or current window
No Y web page opens in new window
N web page opens in current window
Y <param name="url_drill_newwindow" value="Y"> Yes No
url_drill_text
Contains the url to be opened (relative or absolute - absolute requires http://)
No Any text

Special parameters:
@SE@: Shows Serie label
@XV@: Shows x-axis values
@DA@: Shows data values
None <param name="url_drill_text" value="http://www.mysite/drill?val1=@SE@&val2=@XV@"> Yes Yes