How to use interactive Google Charts in post? (3 posts)

  1. troelsk
    Posted 5 years ago #


    I am currently setting up a site using the theme Modularity (http://www.kfrank.dk/nakskov/ ). I would like to use interactive Google Charts in some of my posts, but cannot figure out how to do it.

    This is what the chart looks like: http://bit.ly/eKrJcY
    I create the charts here: http://code.google.com/apis/ajax/playground/?type=visualization#area_chart

    This is the html-code I get from Google: http://wordpress.pastebin.com/P3DpQXDy

    Whenever I put this in my post (both with the html and with just the javascript, nothing shows up). I've tried to install and use the plugin "Inline Javascript Plugin" without luck.

    Can anybody help me? What should I do?

    Thanks :-)

  2. troelsk
    Posted 5 years ago #

    I finally found the solution.

    Install a plugin that allows use of custom fields, this for example: http://gonahkar.com/wordpress-plugins/custom-fields-shortcode/

    The insert the code from in a custom field, and use a fieldtag in the post.

    And voila, it works :-)

  3. OC2PS
    Posted 4 years ago #

    Any chance we can get a proper Google Charts plugin?

Topic Closed

This topic has been closed to new replies.

About this Topic