Plugin Description

What is jrGraph?

jrGraph is a simple jQuery graphing plugin that allows you to build bar graphs to aid in displaying data visually. The end result from your data will display a bar graph with alternating row colors. The graph can be sorted alphabetically or by value, ascending or descending. Each row has the option of having a tooltip description that will display when the user hovers over it. You can easily customize the look of this plugin by modifing the CSS file that accompanies it.

jrGraph Example

Usage

Include this code in the head of your document or in an external Javascript file:

$(document).ready(function(){ $('.jrGraph').jrGraph({ initAnimate : true }); });

Add the class .jrGraph to an unordered list to trigger the plugin. The parameter, initAnimate will set the animation on load. The default is on/true. Define each data row using the following code within your unordered list:

<li> <span class="label">Alpha</span> <span class="value">44</span> <span class="tip"><strong>Alpha:</strong> This is a description of this particular graph section. It can include text, images, or video.</span> </li>

The tooltip can hold text and/or images. As of now, only one instance of jrGraph can be used per page. Check back soon for updates.