Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mithunsatheesh/curious-graph

Jquery flot PIE plugin extended
https://github.com/mithunsatheesh/curious-graph

Last synced: about 1 month ago
JSON representation

Jquery flot PIE plugin extended

Awesome Lists containing this project

README

        

h1. Curious-Graph

*Version:* Extention to Jquery flot 0.7

*License:* "same as Jquery flot 0.7"

*Author:* "Mithun Satheesh"

h2. About

This is a modification to pie charting script of jquery graph library flot. Developed for the admin-end data manipulations of Zingreel.com. A online movie rental website. The pie graph was modified to a more attractive appearance.

h2. Browser Support

Tested on Firefox 3.0 + , Chrome & Safari

h2. Use

Plugin usage same as flot with additional options added on as shown below.

h3. javascript


$(document).ready(function(){

$.plot($("#demo_container"), data,
{
series: {
pie: {
innerRadius: 0.4,
radius:0.8,
innerLabel:{text:'name',color:"#ffcc2a"},
show: true,
stroke:{color:'#000',width:1},
offset:{top:10,left:10}
}
},
grid: {
hoverable: true,
clickable: true
},
legend: {
show: true,
text: "Revenue Distribution per region (INR)"
}
});

});

h3. html



h2. Changelog

*Extention to Jquery flot 0.7