WordPress.org

Ready to get started?Download WordPress

Forums

RGraph
[resolved] How it works (2 posts)

  1. Gabriel Reguly
    Member
    Posted 1 year ago #

    I did the following to get the plugin working for me.

    Created a new post and added this content:

    [rgraph id="myBar" width="500" height="500" ]
            window.onload = function ()
            {
    
    var bar = new RGraph.Bar('myBar', [12,13,16,15,16,19,19,12,23,16,13,24]);
    bar.Set('chart.colors', ['red']);
    bar.Set('chart.title', 'A basic graph (big, but basic)');
    bar.Set('chart.labels', ['Jan', 'Feb', 'Mar',
        'Apr', 'May', 'Jun',
        'Jul', 'Aug', 'Sep',
        'Oct', 'Nov', 'Dec']);
    bar.Draw();
    
    }
    [/rgraph]

    Save and view post to enjoy your newly generated graphic :-)

    --
    Gabriel

    http://wordpress.org/extend/plugins/rgraph/

  2. Gabriel Reguly
    Member
    Posted 1 year ago #

    I made my own version of it, but my plugin was not accepted here at WordPress.org.

    Please find it at: https://github.com/greguly/rgraph-for-wordpress

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags