Linux 软件免费装

Flot for WordPress

开发者
更新时间 2012年11月27日 09:54
捐献地址: 去捐款
PHP版本: 3.0.1 及以上
WordPress版本: 3.4.2
版权: GPLv3
版权网址: 版权信息

标签

chart graph flot

下载

详情介绍:

Flot for WordPress is a plugin to help you get beautiful graphs onto your site with ease. This is not an "install and you're done" plugin. You will have to add your own data using whatever method you like - PHP, JS, etc. Reference the ReadMe file and the Plugin URI for details on how to implement Flot for WordPress. This plugin is based upon the original Flot graphing library, which can be found at www.flotcharts.org A special thanks to http://CreativeContentExperts.com (Creative Content Experts) for sponsoring this plugin.

安装:

While this plugin makes implementation of Flot charts on your site MUCH easier, you still have a lot of work to do after installing.
  1. Upload Flot for WordPress files to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
After you've installed and activated the plugin, here's the steps to start customizing it for your site:
  1. Edit the layout.css file to meet your site's dimensions
  2. Upload your own files for calling data. We have lots of examples for you to use.
  3. Put an include statement in the flot-for-wp.php file (see the example in the file).
  4. Put the shortcode [flot_example_sc] into a post to see a sample Flot chart in action.

升级注意事项:

No upgrades available yet.

常见问题:

I installed Flot for WordPress, but how do I get a chart?

Flot for WordPress just gives you the libraries and framework to start adding data of your own. You'll want to create a function and shortcode to get data from a database, or just hardcode some data into a PHP file. We have lots of examples in the plugin files.

I installed my PHP file and shortcode, but nothing is showing up on the page.

Go through your code with a fine-toothed comb. Consider viewing source and pasting the page into validator.w3c.org and check for errors. The nature of the Flot library is that it is very picky - the smallest syntax error and you won't see anything. Also, make sure you have a defined height and width for the flot-container div.

更新日志:

1.0 Original version.