/*
Current bits of jankiness:
+- Direct layout access
+- Direct area access
*/
grid.prototype.activate = function(g) {
return {
- drawChart: this.drawChart
+ willDrawChart: this.willDrawChart
};
};
-grid.prototype.drawChart = function(e) {
+grid.prototype.willDrawChart = function(e) {
// Draw the new X/Y grid. Lines appear crisper when pixels are rounded to
// half-integers. This prevents them from drawing in two rows/cols.
var g = e.dygraph;
}
ctx.restore();
}
-}
+};
grid.prototype.destroy = function() {
};