Plugin Directory

amCharts: Charts and Maps

Allows to easily add interactive charts and maps using amCharts libraries.

Does this plugin work with the free/commercial versions of amCharts libraries

Yes. You can either set the plugin to use publically available libraries loaded from http://www.amcharts.com or from your local server.

Will I be able to visually edit settings and data?

No. This plugin allows editing a code directly in WordPress admin as well as inserting the charts into posts or pages using shortcodes.

It's not a fully fledged chart/map editor. It's a plugin designed to get your chart/map code into WordPress easily.

Do I need to include any JavaScript libraries in my theme code?

Nope. The plugin will take care of that for you. The required JavaScript libraries will be included in the footer of the page automatically.

Plugin will include only those libraries that are actually required to render the chart. If no charts are there on the page, no additional libraries will be included.

Let's keep the footprint small ;)

Can I insert a chart directly from my PHP code rather than shortcode?

Yes. Use the following PHP code:

<?php amcharts_insert( $chart_id ); ?>

Or, you can retrieve the chart object using following function:

<?php amcharts_get( $chart_id ); ?>

This will return an object with the following properties:

  • title - a chart title
  • post - a reference to original WP post object
  • resources - a list of resource urls
  • html - HTML code
  • javascript - JavaScript code

Can I pass custom parameters to chart code via shortcode?

Yes, starting from version 1.0.7.

Any parameter prefixed with "data-" will be passed into chart code via global AmCharts.wpChartData object.


[amcharts id="pie-1" data-file="data1.csv" data-sort="asc"]

The above shortcode will insert the following code before actual chart code:

AmCharts.wpChartData = {
  "file": "data1.csv",
  "sort": "asc"

You can then reference those passed variables in your chart code. I.e.:

alert( AmCharts.wpChartData.file );

Requires: 3.0 or higher
Compatible up to: 4.4
Last Updated: 6 days ago
Active Installs: 1,000+


5 out of 5 stars


3 of 9 support threads in the last two months have been resolved.

Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1
100,3,3 100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 100,2,2 100,1,1
100,1,1 100,1,1