Back to amCharts.com

Optimize file size and perfomance

The following tips will help you reduce the file sizes of your amCharts install, and help make your web pages run faster.

1. Use CSV data if you don't need to customize individual datapoints, especialy with large data sets. CSV data files are normally 3 times smaller than XML files, or more. CSV data is parsed much faster, too.

2. Delete all the nodes for settings that you are leaving at the default values.

3. Delete all the comments from the settings file.

4. You can omit the # sign before a color code, instead of <color>#CC0000</color> you can use: <color>CC0000</color>

5. Use "1" instead of "true" and "0" instead of "false": <enabled>0</enabled>

6. Use one swfobject.js file for all charts (it's the same).

Back to top