mouseup: function(event, g, context) {
        if (context.isZooming) {
            Dygraph.endZoom(event, g, context);
        } else if (context.isPanning) {
            Dygraph.endPan(event, g, context);