}
}
}
+ window.console.log(this.eventListeners_);
this.createDragInterface_();
CatMinified () {
Copyright
(CatSources | grep -v '@license') \
- | java -jar ../../closure-compiler-read-only/build/compiler.jar --js ../../closure-library-read-only/closure/goog/base.js --js - --js dygraph-exports.js --compilation_level ADVANCED_OPTIMIZATIONS --warning_level VERBOSE --externs dygraph-externs.js --externs gviz-api.js --output_wrapper='(function() {%output%})();'
+ | java -jar ../../closure-compiler-read-only/build/compiler.jar --js ../../closure-library-read-only/closure/goog/base.js --formatting PRETTY_PRINT --js - --js dygraph-exports.js --compilation_level ADVANCED_OPTIMIZATIONS --warning_level VERBOSE --externs dygraph-externs.js --externs gviz-api.js --output_wrapper='(function() {%output%})();'
# Add this for debugging:
# --formatting PRETTY_PRINT
annotations.prototype.activate = function(g) {
return {
- clearChart: this.clearChart,
- didDrawChart: this.didDrawChart
+ 'clearChart': this.clearChart,
+ 'didDrawChart': this.didDrawChart
};
};
axes.prototype.activate = function(g) {
return {
- layout: this.layout,
- clearChart: this.clearChart,
- willDrawChart: this.willDrawChart
+ 'layout': this.layout,
+ 'clearChart': this.clearChart,
+ 'willDrawChart': this.willDrawChart
};
};
chart_labels.prototype.activate = function(g) {
return {
- layout: this.layout,
+ 'layout': this.layout,
// clearChart: this.clearChart,
- didDrawChart: this.didDrawChart
+ 'didDrawChart': this.didDrawChart
};
};
grid.prototype.activate = function(g) {
return {
- willDrawChart: this.willDrawChart
+ 'willDrawChart': this.willDrawChart
};
};
this.one_em_width_ = 10; // just a guess, will be updated.
return {
- select: this.select,
- deselect: this.deselect,
+ 'select': this.select,
+ 'deselect': this.deselect,
// TODO(danvk): rethink the name "predraw" before we commit to it in any API.
- predraw: this.predraw,
- didDrawChart: this.didDrawChart
+ 'predraw': this.predraw,
+ 'didDrawChart': this.didDrawChart
};
};
};
legend.prototype.didDrawChart = function(e) {
+ window.console.log('legend.didDrawChart');
this.deselect(e);
};
* @private
*/
legend.prototype.predraw = function(e) {
+ window.console.log('legend.predraw');
// Don't touch a user-specified labelsDiv.
if (!this.is_generated_div_) return;
this.createInterface_();
}
return {
- layout: this.reserveSpace_,
- predraw: this.renderStaticLayer_,
- didDrawChart: this.renderInteractiveLayer_
+ 'layout': this.reserveSpace_,
+ 'predraw': this.renderStaticLayer_,
+ 'didDrawChart': this.renderInteractiveLayer_
};
};