=== Google Charts === Contributors: vizioninteractive Tags: google, charts, line, sparkline Requires at least: 2.7 Tested up to: 2.7 Stable tag: 0.2 A plugin to add Google Charts to your WordPress site == Description == This is a plugin to add Google Charts to your WordPress site. It currently ONLY supports line and sparkline charts. More to come soon! == Installation == 1. Unpack the entire contents of this plugin zip file into your `wp-content/plugins/` folder locally 1. Upload to your site 1. Navigate to `wp-admin/plugins.php` on your site (your WP plugin page) 1. Activate this plugin OR you can just install it with WordPress by going to Plugins >> Add New >> and type Google Charts == Usage == Call the function like so: google_charts("w=400&h=200&type=lc&class=chartoverview&xt=x,y&yfull=1",array('data'=>$click_array,'dates'=>$dates)) Variable #1: w - Width in Pixels for the chart h - Height in Pixels for the chart type - Line Chart (lc) or Sparkline (ls) are only supported class - The class to apply to the image (optional) xt - Set to (x,y) for Line Chart or Sparklines yfull - Set to (1) to show every value passed, Set to (0) to show only the first and last value passed (as labels) Variable #2: array variable #1 - This is the data to pass for the Y axis, it has to be named 'data' array variable #2 - This is the data to pass for the X axis, it has to be named 'dates' (but values don't have to be a date)