Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

amCharts Embed

Beskrivning

Visualize your data with interactive charts and maps with amCharts Live Editor, and embed them into your WordPress site.

About amCharts

AmCharts is a set of stunningly charts for websites and web-based products. It’s an advanced charting library that will suit any data visualization need. You can download the complete library or use the Live Editor to make your charts online.

Using the Live Editor you can create beautiful interactive charts with a click of a few buttons. No development knowledge required. Just use the predefined chart templates, add your data and customize the appearance of the chart page, save the chart and share the result with the world.

Usage

Using this WordPress plugin you can embed charts and maps, created by ”amCharts Live Editor”, into your WordPress site using the chart URL or using a simple shortcode.

Embed using a shortcode:

You can embed charts using the [amcharts] shortcode, with the following attributes:

  • id (required) – chart id.
  • width – chart width.
  • height – chart height.

Example:

[amcharts id="NjEwN" width="300" height="200"]

Embed using chart URL:

Choose any chart from amCharts live, or create your own! Copy the chart URL and paste it to the post text editor. Then simply click over to the visual editor to confirm that it loads properly.

Skärmdumpar

  • Pasting the URL to the text-editor.
  • Pasting the URL to the visual-editor.

Vanliga frågor

What are the plugin requirements?

Minimum Requirements

  • WordPress version 3.5 or greater.
  • PHP version 5.2.4 or greater.
  • MySQL version 5.0 or greater.

Recommended Requirements

  • The latest WordPress version.
  • The latest PHP version.
  • MySQL version 5.7 or greater.
How do I embed charts from live.amcharts.com ?

With this plugin you can use the URL to embed your charts, just paste the chart URL into your post editor:

https://live.amcharts.com/NjEwN/
How do I set custom dimensions to my chart?

Since WordPress 4.2, you can double click the embedded item to set max width and max height. It will add the WordPress [embed] shortcode:

[embed width="600" height="400"]https://live.amcharts.com/NjEwN/[/embed]

Note: Doing it the WordPress way, using the [embed] shortcode, is backwards and forward compatible, and it works with all the themes.

How do I embed charts using a shortcode?

You can embed charts using the [amcharts] shortcode, with the following attributes:

  • id (required) – chart id.
  • width – chart width.
  • height – chart height.

Example:

[amcharts id="NjEwN" width="300" height="200"]

Recensioner

Läs 1 betyg

Bidragsgivare och utvecklare

”amCharts Embed” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

”amCharts Embed” har översatts till 7 språk. Tack till översättarna för deras bidrag.

Översätt ”amCharts Embed” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

1.3 (2017-01-26)

  • Escape URL.

1.2 (2016-04-04)

  • Add shortcode.
  • Move plugin files to ’includes’ directory.

1.1 (2015-12-02)

1.0 (2015-04-10)

  • Initial release.
  • Register oEmbed provider.