Back to amCharts.com

Optimize file size and perfomance

Reducing settings file size

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

2. Delete all the comments from the settings file.

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

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

Making the chart work faster

1. If time period of your data is big, avoid using date formats with hours, minutes or seconds, if you can. If you need to present a lot of daily data, and some hourly/minutely data for the last day, you should better setup a separate chart for the last day.

2. Use dot for separating decimals in the data file. As this is the default Flash players decimal separator, the tool doesn't need to replace it, and parses data more quickly.

Back to top