WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Google Charts

A plugin to add Google Charts to your WordPress site

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)

Requires: 2.7 or higher
Compatible up to: 2.7
Last Updated: 2009-2-6
Downloads: 1,362

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.