Plugin này chưa được cập nhật với 3 phiên bản mới nhất của WordPress. Nó có thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress mới nhất.

amCharts Embed

Mô tả

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.

Ảnh màn hình

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

Hỏi đáp

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"]

Đánh giá

Đọc tất cả 1 đánh giá

Người đóng góp & Lập trình viên

“amCharts Embed” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

“amCharts Embed” đã được dịch qua 8 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.

Dịch “amCharts Embed” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

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.