Skip to content

Commit

Permalink
Added mouse tracking.
Browse files Browse the repository at this point in the history
  • Loading branch information
cesutherland committed Apr 13, 2011
1 parent 3e20af0 commit b71a07e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion js/HumbleBubble.js
Expand Up @@ -25,6 +25,10 @@ if (typeof(Humble) == 'undefined') {

draw : function () {
this._flotrDraw(this.data[0]);
/*
Event.observe(this.node, 'flotr:hit', function (e) {
}.bind(this));
*/
},

animate : function () {
Expand Down Expand Up @@ -111,8 +115,9 @@ if (typeof(Humble) == 'undefined') {
data,
{
shadowSize : false,
mouse : { track: true, position: 'ne', trackDecimals: 0},
bubbles : { show : true, baseRadius : .2, lineWidth : 1, fillOpacity : .7 },
grid: {outlineWidth: 0, labelMargin: 0},
grid : { outlineWidth: 0, labelMargin: 0},
xaxis : { min : 5, max : 11, ticks : null, noTicks : 10, tickFormatter : function () { return ''; } },
yaxis : { min : 20, max : 80, ticks : null, noTicks : 10, tickFormatter : function () { return ''; } }
}
Expand Down

0 comments on commit b71a07e

Please sign in to comment.