How it works
-
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
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How it works’ is closed to new replies.