Back to amCharts.com

How to add additional fonts and special characters

By default amCharts includes only basic fonts with basic Latin letters, numerals and punctuation. This is done on purpose to conserve font file size overhead.

If your font is not included, you will need to create a custom font file. Also if you need to use special characters like German umlauts in rotated you will need to create custom font file as well.

Here's the quick guide on how to do it using Adobe Flash Professional CS5.

Step 1: Create a FLA file

amCharts' font files are located in chartType/fonts directory. Most of them are compiled SWF files except for one - tahoma.fla. Copy it and name it to the font name you want it to embed. Open the file in Flash Professional.

Step 2: Select text control on stage

Step 3: Select a font

In Properties pane select font you want to be used:

Step 4: Select characters you want to be embedded

Click "Embed" button. Select all character subsets you want to be embedded and/or add special symbols to embed.

Step 5: Save and publish

Click OK. Save the file. Then publish it.

That's it. Your new custom file is ready to be used in amCharts. Set it in settings <font>.

Back to top