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_01

Parameter name
Description
Required
Values
Default
Example
chart_type Type of chart Yes BAR
BAR3D
LINE
LINE3D
STACKEDBAR
STACKEDLINE
STACKEDBAR3D
STACKEDLINE3D
PIE
PIE3D
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
PIE: Pie chart
PIE3D: 3D pie 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 - s10_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 - s10_value) Yes s1_value is required, series s2 till s10 are optional Any comma delimited string. Each delimited value must be a number. Negative or positive values are allowd 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 - s10_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">
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 and legend 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 Serrif, 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">
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">
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 Serrif, 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 occure (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">
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_position Position of legend. No RIGHT
LEFT
NONE

RIGHT: positions the legend right
LEFT: positions the legend left
NONE: legend is not displayed
RIGHT <param name="legend_font_size" value="18">
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 Serrif, 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

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
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 Serrif, 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">
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">
s1_color (applies to s1_color - s10_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 - s10_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 - s10_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 - s10_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">