amCharts Documentation
Search:     Advanced search
Browse by category:

Using colons and dots in data or settings urls

Views: 678

In order to use colons or dots in urls of your settings or data files, you must use relative urls (with http://) In other case, you will get "error loading file" message. This problem is caused by flash player, not amCharts. So, instead of:

so.addVariable("settings_file", "settings.php?time=22:00");

you should have:

so.addVariable("settings_file", http://www.yourdomain.com/settings.php?time=22:00);

However you must also know, that using relative paths in some cases can also cause problems. So the best solution would be not to use colons or dots in urls - replace them with some other symbols if you can.

Others in this Category
document Labels in data file
document Exporting charts as PDF and some image formats using third party software
document How to display language-specific characters in amCharts
document Most frequent errors made during amCharts install
document Rotated axis values and language-specific characters