A plugin to add Google Charts to your WordPress site
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)
Requires: 2.7 or higher
Compatible up to: 2.7
Last Updated: 2009-2-6
Downloads: 983
Got something to say? Need help?