annotate data/js/custom.js @ 3:8e1efafa6277

Updated version * Bugfix: blue lines in some plots (bar colors were not set correctly) * Cookiecutter template * Additional unit tests * Add plot legend
author Vimalkumar Velayudhan <vimal@biotechcoder.com>
date Wed, 12 Aug 2015 09:27:45 +0100
parents ca58e9466cbf
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
ca58e9466cbf First commit
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
1 $(document).ready(function()
ca58e9466cbf First commit
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
2 {
ca58e9466cbf First commit
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
3 $("#counts-table").tablesorter({sortList: [[2,1]]});
ca58e9466cbf First commit
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
4 //assign the sortStart event
ca58e9466cbf First commit
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
5 $("#counts-table").bind("sortStart", function() {
ca58e9466cbf First commit
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
6 $("#overlay").show();
ca58e9466cbf First commit
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
7 }).bind("sortEnd",function() {
ca58e9466cbf First commit
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
8 $("#overlay").hide();
ca58e9466cbf First commit
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
9 });
ca58e9466cbf First commit
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
10 }
ca58e9466cbf First commit
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff changeset
11 );