|
There are no translations available.
CSV CSV data comes in the format: series;value of the first graph;value of the second graph;…;value of the x graph For example:  Each new line determines the new series and values of your graphs, separated by a special character (the semicolon ';' is used by default - you can change it in the settings csv_separator tag. Remember, if you are using CSV data, you must tell the software to look for that format.This is done by setting csv in the settings file. If you load your data from a file, you will probably need to change file name of your data file too. XML Here is example of XML data for column chart:
As you can see, the data comes in two parts: series and graphs. Series defines the category axis points. Series values may be numbers or strings. You can even apply some HTML formatting for the series values. The xid attribute is a unique identifier. You can have as many series as you wish. Graphs defines the graph. Every graph has ID: gid="1". The gid is necessary if the settings for the graph are located in the settings file, and the gid in the data file must match the gid in the settings file. Each graph has values. Value tag has an xid attribute, which matches the xid from series. It is not necessary that every graph has the same number of values as series, the chart will handle missing data. XML Data Attributes XML data format allows you to apply some custom formatting for your columns/bars, have custom series background, indicate which series values should be sown on the axis, etc. These settings are included within value tag, for example: 
This will make background color of this series to be red with the opacity 50%, and the value of this series will always be shown on the category axis. Another example:
This will make the column to be filled with the green color, and to be linked to amcharts.com web site. The discription might be showed when the user rolls-over the column. Below is the full list of available attributes Value of a series can have the following attributes: 
Value of a graph can have the following attributes:
According by amCharts
|