• Resolved rikprogeek

    (@rikprogeek)


    Hi, thanks a lot for this great plugin! I’ve been using it a few days and was able to create beautiful tables from a google spreadsheet and massage the date and whatnot.

    However, no matter what I try, I cannot get any charts to show up… ?? I wonder what I’m doing wrong. Here’s a bit of code I’ve tried:

    [gdoc key=”https://docs.google.com/spreadsheets/d/1__TVimscv9O1F3oSIMPshzJdUYgQ1ykwsy6vwy1p0T0/view#gid=600989661″ chart=”Bar” query=”SELECT A, B”]

    The Firefox console tells me 2 things that may or may not be connected to this:

    “A call to document.write() from an asynchronously-loaded external script was ignored.”

    and

    “TypeError: google.visualization is undefined”

    Any help with this would be greatly appreciated.

    Best wishes,

    Rik

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Meitar

    (@meitar)

    That shortcode works fine for me. You have a problem with your site’s JavaScript and since it’s running before this plugin, this plugin’s chart JavaScript isn’t running at all. You need to fix the earlier errors. Good luck.

    • This reply was modified 7 years, 10 months ago by Meitar.
    Thread Starter rikprogeek

    (@rikprogeek)

    Thnx Meitar, for the quick reply. If the generated html should work I can start debugging the page. I’ll let you know if I find something that can help with making the plugin more compatible with other plugins.
    Could take a few days before I can make time though, we’ll see.
    Thanks again, wishing you the best, Rik

    Thread Starter rikprogeek

    (@rikprogeek)

    Found it!
    I had added some code in my functions.php to defer the loading of javascript until after the page was finished. This helps speeding up the display of the page, but it didn’t work together with google’s jsapi document.
    Nothing wrong with your code ??
    Best wishes, R

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘No charts showing at all’ is closed to new replies.