| Developer | |
|---|---|
| Update Time | Nov. 27, 2012, 9:54 a.m. |
| Donation URL: | donation |
| PHP Version: | 3.0.1 + |
| WordPress Version: | 3.4.2 |
| Copyright: | GPLv3 |
| Copyright URL: | Copyright Information |
/wp-content/plugins/ directory[flot_example_sc] into a post to see a sample Flot chart in action.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.
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.