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_30

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
VERSION
Get version of Swiftchart software
BAR <param name="chart_type" value="BAR3D"> Yes Yes
x_value
This parameter contains the actual x serie in comma delimited form.
Yes Any comma delimited string Jan,Feb,Mar <param name="x_value" value="Jan,Feb,Mar,Apr,May,Jun,Jul"> 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 <param name="s1_value" value="3.7,3.7,7.3,9.7,13.7"> 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 <param name="s1_label" value="Paris"> 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. <param name="s1_color" value="99CC66"> 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 <param name="s1_line_weight" value="4"> 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 <param name="s1_line_marker" value="Y"> 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
Defaults are set depending on serie <param name="s1_line_marker_type" value="2"> 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 <param name="depth3d" value="100"> Yes Yes
bg (also applet_bg allowed)
Sets the background color.
No Standard color coding as used for HTML (eg FF9966). FFFFFF <param name="bg" value="EEEEEE"> Yes Yes
chart_bg
Sets the chart background color.
No Standard color coding as used for HTML (eg FF9966). CCCCCC <param name="chart_bg" value="99FF66"> 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
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_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
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.
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.
No 0, 1, 2 or 3 2 <param name="data_value_digits" value="1"> 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 No
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:
<BR>: Line break
<B></B>: Start and end of bold text
<I></I>: Start and end of italic text
@SE@: Shows Serie label
@XV@: Shows x-axis values
@DA@: Shows data values
N <param name="popup_text" value="<B>Serie: </B>@se@<BR> Yes No
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 No
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 No