Linux 软件免费装
Banner图

Wp-D3

开发者 Ruben Afonso
更新时间 2016年11月21日 08:27
捐献地址: 去捐款
PHP版本: 3.0 及以上
WordPress版本: 4.6
版权: GPL2

标签

javascript svg charts d3 visualization

下载

2.1 1.1 1.2 1.2.1 1.2.2 2.0 2.1.1 2.1.2 2.2 2.3 2.4

详情介绍:

安装:

  1. Upload wp-d3/ to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Create a post in Visual Mode. The last toobar icon is a shortcut to the Wp-D3 Manager Editor.
  4. Paste your code into the editor.
  5. If you have any extra dependencies to .js or .css files upload them to your Wordpress installation using the Wordpress Media Library and then add their URL to the list of includes that appears when Wp-D3 Chart Manager's 'Include' button is pressed.
  6. In your D3 code, make sure that the chart is attached to a div with the same name as the current edition tab.
  7. Press 'Insert' to add a shortcode into the current post with the chart reference.
  8. Press 'Save'.
  9. Preview your post and have fun!.

屏幕截图:

  • Live example <a href="http://figurebelow.com/d3/short-tutorial-into-wp-d3-v2/">here</a>
  • Wp-D3 Chart Manager to edit and save multiple charts code.
  • URL Include dialog to provide the URLs of extra style (.css) and javascript (.js) files used in the D3 snippets.
  • Example displaying D3 chart taking from bl.ocks.org, in <a href="http://figurebelow.com/d3/wp-d3-and-day-hour-heatmap/">figurebelow.com</a>

升级注意事项:

1.0 Update Wordpress-d3 to version 1.0, first implementation. 1.2.2 This version fixes a bug on plugin init. d3-link tag is now optional. Upgrade recommended. 2.0 Huge user interface improvement and better integration with Wordpress API. D3 code now can be pasted, edited and saved using a GUI without affecting the post content. Support to the old tags system is still provided so old charts should render fine. 2.2 Added Preview button and minor fixes. 2.3 Fixed accidental enablement of 'wpautop' plugin. D3.js version updated to v3.5.15. 2.3.1 Fixed bug that removed "\<p>" from posts occasionally. 2.4 D3.js upgraded to v4.2. Please note there are several changes in D3.js API so the previous code might not work as expected. In order to facilitate the transition, the previous D3.js version (3.5) has been kept in place besides the new v4.2. The D3.js library in use can be changed in Settings->Wp-D3. The default running version has been kept to D3.js v3.5 so the new one has to be enabled explicitely. 2.4.1 Security fix upgrade. D3.js upgraded to v4.3. A CSRF vulnerability has been fixed, thanks to Jouku Pynnonen jouko@iki.fi.

更新日志:

2.4.1 2.4 2.3.1 2.3 2.2 2.1.2 2.1.1 2.0 1.2.2 1.2.1 1.2 1.1 1.0.0