Back to amCharts.com

Scatter & bubble settings

This section contains a list of all settings available for Scatter & Bubble (XY) chart.

<settings>

These are general settings (not depending to any subsection) that apply to the entire chart.

SettingAvailable valuesDefault valueDescription
data_typexml/csvxmlThe format of the data. This tells the software how to interpret the data it finds.
csv_separatorsome symbol;The character that will separate columns in a CSV file.
skip_rowsnumber0If you are using a CSV file, this setting allows you to skip the first several rows of the file (for example, if it contains metadata).
fontfont nameArialThe font of the text that will be displayed in the chart. Make sure to use common device font names
text_sizenumber11The size of the text that will be displayed in the chart.
text_colorhex color code#000000The color of the text that will be displayed in the chart. More about hex color codes.
decimals_separatorsome symbol,The character that will separate the whole digits from the decimal digits in a number.
thousands_separatorsome symbolEmpty spaceThe character that will separate each three whole digits in a number (counting right-to-left from the decimal).
scientific_minnumber0.000001If absolute value of your number is equal or less then scientific_min, this number will be formatted using scientific notation, for example: 0.0000023 → 2.3e-6
scientific_maxnumber1000000000000000If absolute value of your number is equal or bigger then scientific_max, this number will be formatted using scientific notation, for example: 15000000000000000 → 1.5e16
digits_after_decimalnumber0If a value has less digits after the decimal separator than this number, zeroes will be added to the end. For example, if this is set to 2 and you have a value of 15.6, then the viewer will see it as 15.60. This is useful for charts showing prices, etc.
reload_data_intervalnumber, in seconds0How often the chart will reload the data. This is useful if your data is updated very often, and you want to show the change in data without reloading the page.
redrawtrue/falsefalseIf your chart’s width and height is set in percent, and this is set to true, the chart will be resized proportionally when the browser window is resized.
add_time_stamptrue/falsefalseIf this is set to true, a timestamp will be added to the data file name every time data is loaded. This is useful if you are using dynamic data and the reload_data_interval setting. It is also useful if your data file changes frequently and you want the data to be reloaded every time the viewer reloads the page – otherwise the data might be cached in their browser.
precisionNumber2How many decimal places will be shown for values which are calculated by the software (percent values). This does not affect the contents of the data file.
preloader_on_reloadtrue/falsefalseIf this is set to true, progress bar will be shown while data is being reloaded.
depthnumber, in pixels0The depth of the chart (this creates a 3D effect).
anglenumber, in degrees30The angle of the chart (this creates a 3D effect).
link_target_blank, _top…none – link opens in the same windowThe target parameter of the bullet URL, if any. Use "_blank" to open the URL in a new browser window.
masktrue/falsetrueIf this is set to true, the plot area will be masked off. This means that any bubble or data label that is too big to fit in the plot area will be cropped.
colorshex color codes#FF6600, #FCD202, #B0DE09, #0D8ECF, #2A0CD0, #CD0D74, #CC0000, #00CC00, #0000CC, #DDDDDD, #999999,#333333,#990000These colors will be used if the graph's color is not set.

<background>

This subsection lists the settings that control the chart's background.

SettingAvailable valuesDefault valueDescription
colorhex color code#FFFFFFThe color of the chart background. You can use multiple color codes, separated with commas - this will produce a gradient.
alphanumber (0-100)0Background opacity. This applies to the background color. Set this to 0 if you are using a custom SWF (Flash object) or JPG image as a background. Set it to a higher number if you are using a background color. If this is set to 0, the background color defined in the HTML code snippet is used.
border_colorhex color code#FFFFFFThe color of the chart's outer border.
border_alphanumber (0-100)0The opacity of the chart's outer border.
filefilenamenoneThe name of the SWF or JPG file that will be used as the background image. The file must be placed in the "path" folder.

<plot_area>

This subsection determines the look of the area between the axes – the area where the chart will be drawn.

SettingAvailable valuesDefault valueDescription
colorhex color code#FFFFFFThe background color of the plot area. You can use multiple color codes, separated with commas - this will produce a gradient.
alphanumber (0-100)0The opacity of the plot area's background. Change this from 0 to make the plot area background different from the chart background.
border_colorhex color code#000000The color of the plot area's borders.
border_alphanumber (0-100)0The opacity of the plot area's borders.

<margins>

This subsection determines the size of the plot area margins.

SettingAvailable valuesDefault valueDescription
leftnumber, in pixels60The size of the left margin.
topnumber, in pixels60The size of the top margin.
rightnumber, in pixels60The size of the right margin.
bottomnumber, in pixels80The size of the bottom margin.

<grid>

This subsection lists settings that control the chart grid. Category refers to the base axis (horizontal axis for a column chart), value refers to the value axis (vertical axis for a column chart).

<x>

This subsection lists settings that control the value axis of the chart.

SettingAvailable valuesDefault valueDescription
colorhex color code#000000The color of the grid lines.
alphanumber (0-100)15The opacity of the grid lines.
dashedtrue/falsefalseIf this is set to true, the grid lines will not be continuous. They will look like a line of dashes (– – – –). Attention! It is strongly not recommended to use dashed gridlines if the zoom is turned on. This might cause your script run slowly or even stop the script.
dash_lengthnumber, in pixels5The length of each dash.
approx_countnumber10The approximate number of gridlines.

<y>

This subsection lists settings that control the value axis of the chart.

SettingAvailable valuesDefault valueDescription
colorhex color code#000000The color of the grid lines.
alphanumber (0-100)15The opacity of the grid lines.
dashedtrue/falsefalseIf this is set to true, the grid lines will not be continuous. They will look like a line of dashes (– – – –). Attention! It is strongly not recommended to use dashed gridlines if the zoom is turned on. This might cause your script run slowly or even stop the script.
dash_lengthnumber, in pixels5The length of each dash.
approx_countnumber10The approximate number of gridlines.

<values>

This subsection lists settings that control the way values on the axes are displayed. Category refers to the base axis (horizontal axis for a column chart), value refers to the value axis (vertical axis for a column chart).

<x>

This subsection lists settings that control x-axis values.

SettingAvailable valuesDefault valueDescription
enabledtrue/falsetrueIf this is set to true, axis values will be shown.
typenumber/date/durationnumberThe formatting of the values on the axis. "date" means that your axis will display dates (you must specify date formats in <date_formats> subsection). "duration" means that your numbers will be formatted as time, for example 130 seconds can be displayed as 02:10 or as 02 min 10 s (you can setup units in <strings>). The unit of duration in data file is set in <date_formats><duration_input>
reversetrue/falsefalseIf this is set to true, the values will be reversed on the value axis – the largest value will be placed closest to the point where the category and value axes intersect. The chart will be re-plotted accordingly.
rotatenumber (0-90)0The angle of rotation for the values. You can rotate them by 90 degrees with no additional requirements. If you want to rotate the values by 1 to 89 degrees, you must have the SWF file for that font, placed in the [path]/fonts folder. More about rotating axis values.
minnumbernone – calculated automaticallyThe minimum value of the value axis. The axis will always start from this value, even if there is no data point mapped that far.
maxnumbernone – calculated automaticallyThe maximum value of the value axis. The axis will always end at this value, even if there is no data point mapped that far.
strict_min_maxtrue/falsefalseIf this is set to true, the axis will stay between Min and Max values even if there are data points beyond those values. The parts of the chart that do not fit will be cropped. If this is set to false, the Min and Max values will be extended to fit the chart.
frequencyNumber1The ratio of shown values to value axis grid lines. 1 means a value will be shown at every grid line; 2 means a value will be shown at every second grid line, etc. The higher the number, the less values will be shown.
skip_firsttrue/falsetrueIf this is set to true, the first value will be skipped.
skip_lasttrue/falsefalseIf this is set to true, the last value will be skipped.
colorhex color codeSame as <text_color> in general settingsThe color of the text.
text_sizenumberSame as <text_size> in general settingsThe size of the text.
unittextnoneA short text indicating the units of the values. This can be something like "USD" or "km/h".
unit_positionleft/rightrightWhether the units will be shown to the left of the value or to the right.
integers_onlytrue/falsefalseIf this is set to true, only whole values will be shown. Values with decimals will be hidden.
insidetrue/falsefalseIf this is set to true, the values of this axis will be displayed inside the plot area.

<y>

This subsection lists settings that control the y-axis values.

SettingAvailable valuesDefault valueDescription
enabledtrue/falsetrueIf this is set to true, axis values will be shown.
typenumber/date/durationnumberThe formatting of the values on the axis. "date" means that your axis will display dates (you must specify date formats in <date_formats> subsection). "duration" means that your numbers will be formatted as time, for example 130 seconds can be displayed as 02:10 or as 02 min 10 s (you can setup units in <strings>). The unit of duration in data file is set in <date_formats><duration_input>
reversetrue/falsefalseIf this is set to true, the values will be reversed on the value axis – the largest value will be placed closest to the point where the category and value axes intersect. The chart will be re-plotted accordingly.
rotatenumber (0-90)0The angle of rotation for the values. You can rotate them by 90 degrees with no additional requirements. If you want to rotate the values by 1 to 89 degrees, you must have the SWF file for that font, placed in the [path]/fonts folder. More about rotating axis values.
minnumbernone – calculated automaticallyThe minimum value of the value axis. The axis will always start from this value, even if there is no data point mapped that far.
maxnumbernone – calculated automaticallyThe maximum value of the value axis. The axis will always end at this value, even if there is no data point mapped that far.
strict_min_maxtrue/falsefalseIf this is set to true, the axis will stay between Min and Max values even if there are data points beyond those values. The parts of the chart that do not fit will be cropped. If this is set to false, the Min and Max values will be extended to fit the chart.
frequencyNumber1The ratio of shown values to value axis grid lines. 1 means a value will be shown at every grid line; 2 means a value will be shown at every second grid line, etc. The higher the number, the less values will be shown.
skip_firsttrue/falsetrueIf this is set to true, the first value will be skipped.
skip_lasttrue/falsefalseIf this is set to true, the last value will be skipped.
colorhex color codeSame as <text_color> in general settingsThe color of the text.
text_sizenumberSame as <text_size> in general settingsThe size of the text.
unittextnoneA short text indicating the units of the values. This can be something like "USD" or "km/h".
unit_positionleft/rightrightWhether the units will be shown to the left of the value or to the right.
integers_onlytrue/falsefalseIf this is set to true, only whole values will be shown. Values with decimals will be hidden.
insidetrue/falsefalseIf this is set to true, the values of this axis will be displayed inside the plot area.

<axes>

This subsection lists settings that control the look of the actual axis lines.

<x>

This subsection lists settings that control the look of the x-axis.

SettingAvailable valuesDefault valueDescription
colorhex color code#000000The color of the axis line.
alphanumber (0-100)100The opacity of the axis line.
widthnumber2The thickness of the axis line. 0 means hairline, but still visible (set 0 for an invisible axis line).
tick_lengthnumber7The length of the tick extending from the axis at a grid or data point.
logarithmictrue/falsefalseIf this is set to true, the axis will use the logarithmic scale instead of the linear one.

<y>

This subsection lists settings that control the look of the y-axis.

SettingAvailable valuesDefault valueDescription
colorhex color code#000000The color of the axis line.
alphanumber (0-100)100The opacity of the axis line.
widthnumber2The thickness of the axis line. 0 means hairline, but still visible (set 0 for an invisible axis line).
tick_lengthnumber7The length of the tick extending from the axis at a grid or data point.
logarithmictrue/falsefalseIf this is set to true, the axis will use the logarithmic scale instead of the linear one.

<date_formats>

This subsection determines the format of values. It applies to axes whose type has been set to date or duration. The representations for hours, minutes and seconds are in lowercase; days, months and years are uppercase. MM means a month in numeric form (01-12), month means a month in word form.

SettingAvailable valuesDefault valueDescription
date_inputYYYY, MM, month, DD, hh, mm, ss, special charactersYYYY-MM-DD hh:mm:ssThe format of the date value in the data file.
duration_inputYYYY/MM/DD/mm/hh/ssssThe units of the duration value in the data file.
ballooncombination of YYYY, MM, month, DD, hh, mm, ss (additional letters might be used for naming)month DD, YYYYThe format of dates as they will appear in balloons.
data_labelscombination of YYYY, MM, month, DD, hh, mm, ss (additional letters might be used for naming)month DD, YYYYThe format of dates as they will appear in data labels.

<axis_values>

This subsection lists settings that control the way dates on the axes are shown. The tag has two attributes: first determines the format of the first value on an axis, regular determines the format of the other values. Only one of these tags will be used at one time. This depends on the values shown on the axis. If the difference between grid lines is measured in seconds, the ss format will be used; if the difference is measured in minutes, the mm format will be used, etc. This is calculated automatically based on the contents of the data file.

SettingAvailable valuesDefault valueDescription
sscombination of YYYY, MM, month, DD, hh, mm, ss (additional letters might be used for naming)first="month DD, YYYY" regular="hh:mm:ss"The format of the displayed date if the axis displays seconds.
mmcombination of YYYY, MM, month, DD, hh, mm, ss (additional letters might be used for naming)first="month DD, YYYY" regular="hh:mm:ss"The format of the displayed date if the axis displays minutes.
hhcombination of YYYY, MM, month, DD, hh, mm, ss (additional letters might be used for naming)first="month DD, YYYY" regular="hh:mm:ss"The format of the displayed date if the axis displays hours.
DDcombination of YYYY, MM, month, DD, hh, mm, ss (additional letters might be used for naming)first="month DD, YYYY" regular="hh:mm:ss"The format of the displayed date if the axis displays days.
MMcombination of YYYY, MM, month, DD, hh, mm, ss (additional letters might be used for naming)first="month, YYYY" regular="month"The format of the displayed date if the axis displays months.
YYYYcombination of YYYY, MM, month, DD, hh, mm, ss (additional letters might be used for naming)first="YYYY" regular="YYYY"The format of the displayed date if the axis displays years.

<balloon>

This subsection lists the settings that control the balloon. The balloon is a piece of text that appears when the viewer rolls the mouse cursor over a bar or column.

SettingAvailable valuesDefault valueDescription
enabledtrue/falsetrueIf this is set to true, the balloon will be displayed when rolled-over the bubble/bullet.
colorhex color codenoneThe color of the balloon background. If not set, graph color will be used.
alphanumber (0-100)100The opacity of the balloon background.
text_colorhex color code#FFFFFFThe color of the balloon text.
text_sizenumberSame as <text_size> in general settingsThe size of the balloon text.
max_widthnumber220The maximum width of a balloon. If there is too much text to fit in this width, the text will be wrapped.
corner_radiusnumber0Corner radius of a balloon. If bigger then 0, the balloon pointer will not be shown.
border_widthnumber0Balloon border width.
border_alphanumberSame as <balloon><alpha>Balloon border opacity.
border_colorhex color codeSame as <balloon><color>Balloon border color.

bullets

hover_brightnessNumber, from -255 to 2550the bullet may darken/lighten when the use rolls over it. The intensity may be set here.
grow_timenumber, in seconds0The time of animation of the bullets, in seconds. Leave 0 to appear instantly.
sequenced_growtrue / falsefalseWhether to animate all bullets at the same time or one after another.
grow_effectelastic / regular / strongelasticThe style of animation.

<zoom>

enabledtrue/falsetrueIf this is set to true, the user will be able to zoom-in the chart.
max_factornumber20The maximum zoom level.
border_colorhex color code#BBBB00Color of a zoom box border.
border_alphanumber (0-100)100Zoom box border opacity.
bg_colorhex color code#BBBB00Zoom box background color.
bg_alphanumber (0-100)25Zoom box background opacity.
targettrue / falsetrueWhether to show target when the mouse is over plot area or not.

<scroller>

This subsection lists settings that control the chart's scroll bar.

SettingAvailable valuesDefault valueDescription
enabledtrue/falsetrueIf this is set to true, the scroll bar will be displayed when the chart is zoomed in.
colorhex color code#DADADAThe color of the scroll bar indicator. You can use multiple color codes, separated with commas - this will produce a gradient.
alphanumber (0-100)100The opacity of the scroll bar.
bg_colorhex color code#F0F0F0The color of the scroll bar background. You can use multiple color codes, separated with commas - this will produce a gradient.
bg_alphanumber (0-100)100The opacity of the scroll bar background.
heightnumber, in pixels10The height of the scroll bar.

<zoom_out_button>

This subsection lists the settings that control the zoom out button. This button appears when the viewer has zoomed in on a part of the chart; clicking it takes the viewer back to the full chart view.

SettingAvailable valuesDefault valueDescription
xnumber, in pixels, percent, or reversedright-alignedThe horizontal position of the zoom out button. The coordinate is counted from the left. You can set the value in percent (such as 20%). You can also reverse the number, so it is counted from the right to left (such as !20).
yNumber, in pixels, percent, or reversedtop-alignedThe vertical position of the zoom out button. The coordinate is counted from the top. You can set the value in percent (such as 20%). You can also reverse the number, so it is counted upwards from the bottom (such as !20).
colorhex color code#BBBB00The color of the zoom out button background.
alphanumber (0-100)0 The opacity of the zoom out button background.
text_colorhex color codeSame as <text_color> in general settingsThe color of the zoom out button text.
text_color_hoverhex color code#BBBB00The color of the button's text when the mouse pointer hovers over it.
text_sizenumberSame as <text_size> in general settingsThe size of the button's text.
texttextShow allThe text on the button.

<legend>

This subsection lists the settings that control the chart's legend.

SettingAvailable valuesDefault valueDescription
enabledtrue/falsetrueIf this is set to true, the legend is shown on the chart.
xnumber, in pixels, percent, or reversedequal to <plot_area><margins><left>The horizontal position of the legend’s left edge. The coordinate is counted from the left. You can set the value in percent (such as 20%). You can also reverse the number, so it is counted from the right to left (such as !20).
ynumber, in pixels, percent, or reversedright below the plot area.The vertical position of the legend’s top edge. The coordinate is counted from the top. You can set the value in percent (such as 20%). You can also reverse the number, so it is counted upwards from the bottom (such as !20). If you want the legend to auto-fit the flash object, do not set this setting.
widthnumber, in pixels or percentplot area widthThe width of the legend. If the legend doesn't fit, try adjusting the margins. You can set the value in percent (such as 20%).
colorhex color code#FFFFFFThe color of the legend’s background. You can use multiple color codes, separated with commas - this will produce a gradient.
max_columnsnumbernoneThe maximum number of columns in the legend. (All data will be represented, but in several rows if necessary.)
alphanumber (0-100)0The opacity of the legend’s background.
border_colorhex color code#000000The color of the legend’s borders.
border_alphanumber (0-100)0The opacity of the legend’s borders.
text_colorhex color codeSame as <text_color> in general settingsThe color of the legend’s text.
text_sizenumberSame as <text_size> in general settingsThe size of the legend’s text.
spacingnumber, in pixels10The space between the rows and columns of the legend.
marginsnumber, in pixels0The space between the borders and the contents of the legend. This is useful if the borders are visible, or the legend’s background color is different from the chart’s background color.
reverse_ordertrue/falsefalseIf this is set to true, the legend entries will be in a reversed order.
alignleft/center/rightleftThe alignment of the legend entries.

<key>

These are the settings for the legend's key.

SettingAvailable valuesDefault valueDescription
sizenumber16The size of the key. The key is displayed in the legend next to the graph title, and is filled with the graph color.
border_colorhex color codeNone – no borderThe color of the key border.

<help>

This subsection lists the settings that control the Help button, and the balloon that appears when the viewer rolls over it.

<button>

SettingAvailable valuesDefault valueDescription
xnumber, in pixels, percent, or reversedright-alignedThe horizontal position of the help button. The coordinate is counted from the left. You can set the value in percent (such as 20%). You can also reverse the number, so it is counted from the right to left (such as !20).
ynumber, in pixels, percent, or reversedtop-alignedThe vertical position of the help button. The coordinate is counted from the top. You can set the value in percent (such as 20%). You can also reverse the number, so it is counted upwards from the bottom (such as !20).
colorhex color code#000000The color of the help button background.
alphanumber, in percent100The opacity of the help button background.
text_colorhex color code#FFFFFFThe color of the help button text.
text_color_hoverhex color code#BBBB00The color of the button's text when the mouse pointer hovers over it.
text_sizenumbersame as <text_size> in general settingsThe size of the button's text.
texttext?The text on the button.

<balloon>

SettingAvailable valuesDefault valueDescription
colorhex color code#000000The color of the help balloon background.
alphanumber (0-100)100The opacity of the help balloon background.
widthnumber, in pixels300The width of the text in the balloon.
text_colorhex color code#FFFFFFThe color of the help balloon text.
text_sizenumberSame as <text_size> in general settingsThe size of the button's text.
texttextnoneThe text that will appear when the viewer's mouse pointer hovers over the button. Please note: if you want to use HTML tags, you must use the format <! [CDATA[text]]>

<export_as_image>

This subsection lists the settings that control the function of saving the chart as an image file.

SettingAvailable valuesDefault valueDescription
filefilenameNone – disabledIf you provide a filename, the viewer will be able to save the chart as an image. The option will be available in the right-click menu.
target_blank, _top…none – file opens in the same windowThe target parameter for opening the image file in the browser. Use "_blank" to open the URL in a new browser window.
xnumber, in pixels, percent, or reversedleft-alignedThe horizontal position of the "Collecting data" text. This text will appear while the chart is being exported. The coordinate is counted from the left. You can set the value in percent (such as 20%). You can also reverse the number, so it is counted from the right to left (such as !20).
ynumber, in pixels, percent, or reversedbottom-alignedThe vertical position of the "Collecting data" text. This text will appear while the chart is being exported. The coordinate is counted from the top. You can set the value in percent (such as 20%). You can also reverse the number, so it is counted upwards from the bottom (such as !20).
colorhex color code#BBBB00The color of the "Collecting data" text background.
alphanumber (0-100)0The opacity of the "Collecting data" text background.
text_colorhex color codesame as <text_color> in general settingsThe color of the "Collecting data" text.
text_sizenumbersame as <text_size> in general settingsThe size of the "Collecting data" text.

<error_messages>

This subsection lists the settings that control error messages in the chart.

SettingAvailable valuesDefault valueDescription
enabledtrue/falsetrueIf this is set to true, the error messages will be displayed
xnumber, in pixels, percent, or reversedcenteredThe horizontal position of the error message. The coordinate is counted from the left. You can set the value in percent (such as 20%). You can also reverse the number, so it is counted from the right to left (such as !20).
ynumber, in pixels, percent, or reversedcenteredThe vertical position of the error message. The coordinate is counted from the top. You can set the value in percent (such as 20%). You can also reverse the number, so it is counted upwards from the bottom (such as !20).
colorhex color code#BBBB00The color of the error message background. You can use multiple color codes, separated with commas - this will produce a gradient.
alphanumber (0-100)100The opacity of the error message background.
text_colorhex color code#FFFFFFThe color of the error message text.
text_sizenumberSame as <text_size> in general settingsThe size of the error message text.

<strings>

This subsection contains settings that determine the texts of various messages displayed by the chart.

SettingAvailable valuesDefault valueDescription
no_datatextNo data for selected periodThe text that will be displayed if the data for the selected period is missing from the data file.
export_as_imagetextExport as imageThe text of the image export option in the right-click menu.
collecting_datatextCollecting dataThe text that will be displayed while the chart is being exported to an image file.

<context_menu>

This subsection contains settings for the context menu that will appear when the viewer right-clicks on your chart. See adding custom commands to right click menu for more information.

<default_items>

SettingAvailable valuesDefault valueDescription
zoomtrue/falsefalseIf this is set to true, the Flash player's zoom controls are included in the right-click menu.
printtrue/falsetrueIf this is set to true, the Flash player's print controls are included in the right-click menu.

<labels>

This subsection lists the settings of labels - free bits of text not attached to anything. You can add multiple labels, each nested inside a <label></label> tag. Use labels for naming axes, chart title, etc.

SettingAvailable valuesDefault valueDescription
xnumber, in pixels, percent, or reversed0The horizontal position of the label. The coordinate is counted from the left. You can set the value in percent (such as 20%). You can also reverse the number, so it is counted from the right to left (such as !20).
ynumber, in pixels, percent, or reversed0The vertical position of the label. The coordinate is counted from the top. You can set the value in percent (such as 20%). You can also reverse the number, so it is counted upwards from the bottom (such as !20).
rotatetrue/falsefalseIf this is set to true, the label is rotated by 90 degrees.
widthnumber, in pixels or percentFit to contentsThe maximum width of the label. (If the contents exceed the width, the label will have multiple lines.) You can set the value in percent (such as 20%).
alignleft/center/rightleftThe alignment of the text in the label.
text_colorhex color codeAs per general settingsThe color of the text in the label.
text_sizenumberSame as <text_size> in general settingsThe size of the text in the label.
texttextnoneThe text of the label. Please note: if you want to use HTML tags, you must use the format <![CDATA[text]]>.
sstextnoneThe unit name of seconds – will appear behind the value.
mmtext:The unit name of minutes – will appear behind the value.
hhtext:The unit name of hours – will appear behind the value.
DDtextdThe unit name of days– will appear behind the value.

<months>

This section allows you to set the names of each month. There are twelve tags in monthX format nested inside the months tag. The value of each of these tags is a month name – from January to December.

SettingAvailable valuesDefault valueDescription
month1textJanName of January
month2textFebName of February
month3textMarName of March
month4textAprName of April
month5textMayName of May
month6textJunName of June
month7textJulName of July
month8textAugName of August
month9textSepName of September
month10textOctName of October
month11textNovName of November
month12textDecName of December

<graphs>

This subsection lists optional settings that control the graph.

<graph>

This subsection controls one graph. You can have multiple graphs one one chart. The gid parameter of the tag must match the same parameter in the data file (if you are using XML data): <graph gid="0">

SettingAvailable valuesDefault valueDescription
titletextnoneThe title of the graph. The title is displaye din the legend.
colorhex color codeThe color from <colors> settingThe graph color.
alphanumber, in percentcolumn/line alphaThe opacity of the graph.
widthnumber, in pixels0The width of the graph line connecting data points. 0 means hairline (still visible). Set <alpha>0</alpha> for invisible lines.
data_labelstextnoneThe text of a data label. Tags in curly brackets { } will be replaced with the information taken from the data file. The following tags are available: {title}, {value}, {description}, {x}, {y}, {percents}. Please note: if you want to use HTML tags, you must use the format <![CDATA[text]]>.
balloon_texttextnoneThe text in the data point balloon. Tags in curly brackets { } will be replaced with the information taken from the data file. The following tags are available: {title}, {value}, {description}, {x}, {y}, {percents}. Please note: if you want to use HTML tags, you must use the format <![CDATA[text]]>.
widthnumber0The width of the graph line. 0 means hairline, but still visible (set alpha=0 for an invisible graph line).
bullet bubble /square / round / square_outlined / round_outlined / square_outline / round_outline / romb / triangle_up / triangle_down / x / filename.swfnoneThe shape of the bullet that marks each line graph point. The filename.swf is the name of flash file – you can use a custom swf file as a bullet. This file must be placed in the folder specified as "path" in the HTML code snippet. Outlined bullets use the plot area color for the outline.
bullet_sizenumber8The size of the bullet. This only affects predefined bullet shapes, not custom Flash bullets.
bullet_max_sizenumber50The maximum size of a bullet (bubble). The biggest value will be represented by this bullet.
bullet_min_sizenumber0The minimun size of a bullet (bubble).
bullet_alphanumber (0-100)100The opacity of the bullet.
bullet_colorhex color codeSame as <graph><color>The color of the bullet. This only affects predefined bullet shapes, not custom Flash bullets.
visible_in_legendtrue/falsetrueIf this is set to true, the graph will be represented in the legend.
fill_colorhex color codenoneSets the fill color of the graph. Note, the fill will work differently then in Line chart - it won't fill the area between graph and axis, but rather fill the shape of the graph
fill_alphanumber (0-100)100Sets fill opacity (if fill_color is set)
min_maxtrue/falsetrueYou can tell the chart that it shouldn't include graphs values when calculating min and max of the chart
Back to top