The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. lookslikepat
    Posted 3 years 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!


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Analytics Dashboard
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic