Back to amCharts.com

Basics of the settings

A chart's look is controlled by its settings. By default, the settings are loaded from an external file (or several files), however they can also be included directly in the HTML file. When the chart is already displayed on a page, you can change the settings without reloading the page if you use JavaScript.

Settings are stored in XML format. They are split into sections. Each section is opened and closed with a tag. Each setting value is also contained between an opening tag and a closing tag. So the format of the settings is as follows:

<section>
   <setting>value</setting>
</section>

All settings have a default value that is used if you haven't provided one. If you are happy with the default value, you can delete the line for that setting - it will make the settings file smaller.

Back to top