WordPress.org

Ready to get started?Download WordPress

Forums

Google Analytics Dashboard
How to: Use the Charts API instead of Image charts (1 post)

  1. lookslikepat
    Member
    Posted 1 year ago #

    As I'm sure you already know, the "straight to image" Google Chart API is deprecated.
    So a switch to the newer API in the next update, would be Awesome :)

    In the meantime, here's how you can switch to it now, without modifying the plugin at all (have a look at the screenshot to get an idea how it works).

    A small warning: I've only tested this on the default settings, so this might not work for Everyone.

    1. First, assuming you know how to modify your files, add the code in this file to functions.php: gad-replace-chart_functions.php

    That adds the javascript for the Google API, and a link to gad-replace-chart.js

    2. Upload gad-replace-chart.js to /<THEME-FOLDER>/js/gad-replace-chart.js

    3. Check out your Dashboard!

    http://wordpress.org/extend/plugins/google-analytics-dashboard/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic