Skip to content

Commit

Permalink
update gitignore and add reports js
Browse files Browse the repository at this point in the history
  • Loading branch information
eads committed Nov 25, 2012
1 parent 67a7f8c commit cc1604b
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
libraries
modules
modules/contrib
backup
.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
(function($) {

Drupal.behaviors.FreeGeekReport = {
attach: function(context) {
$('.table', context).tablechart({
height: 350,
plotOptions: {
seriesColors: ['#2222cc', '#cc2222'],
seriesDefaults: {
renderer: $.jqplot.BarRenderer,
rendererOptions: {
barPadding: 2,
barMargin: 2
}
},
axes: {
xaxis: {
tickRenderer: $.jqplot.CanvasAxisTickRenderer ,
tickOptions: {
angle: 90,
fontSize: '10pt'
}
}
}
}
});
}
};

})(jQuery);

0 comments on commit cc1604b

Please sign in to comment.