Radar & Polar Chart Data PDF Print E-mail
Written by sonlv   
Tuesday, 10 March 2009 13:00
There are no translations available.

CSV

CSV data comes in the format:

axis name;first graph value;second graph value;nth graph value

For example:

Each new line determines the new axis 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.

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: axes and graphs.

Axes define the number and names of your radar chart's axes. A chart must have at least three axes to display properly, and above that, you can have as many axes as you need. The axis name can be a number or a string, and can even contain some HTML formatting. The xid attribute is a unique identifier of the axis.

Graphs define the lines connecting the axes. 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. The value tag has an XID attribute, which matches the xidof an axis. It is not necessary for every graph to have the same number of values as the number of graphs; the chart will handle missing data automatically.

XML Data Attributes

The XML data format allows you to apply some custom formatting for your data points. These settings are included within the tag, for example: 

This will make the axis be a semi-transparent green color.

Another example:

This will put a small square bullet at the point where the graph intersects with the axis. Clicking on the bullet will open a link to the BBC website.

Below is the full list of available attributes:

axis can have following attribute:

yos-amchart/amchart_radar_polar_data5.png

Value of a graph can have following attributes:

yos-amchart/amchart_radar_polar_data6.png

According by amCharts

 

 

 

 

 


Reddit! Del.icio.us! Mixx! Free and Open Source Software News Google! Live! Facebook! Slashdot! Technorati! StumbleUpon! MySpace! Yahoo! Free Joomla PHP extensions, software, information and tutorials.
 
Recent Articles:
More Articles: