- plugins/grid.js
- plugins/legend.js
+Others:
+x rgbcolor/rgbcolor.js
+
Here's a command that can be used to build dygraphs using the closure
compiler:
- java -jar ../../closure-compiler-read-only/build/compiler.jar --js=dygraph-utils.js --js=dashed-canvas.js --js=dygraph-options-reference.js --js=dygraph-tickers.js --js=dygraph-gviz.js --js_output_file=/tmp/out.js --compilation_level ADVANCED_OPTIMIZATIONS --warning_level VERBOSE --externs dygraph-externs.js
+ java -jar ../../closure-compiler-read-only/build/compiler.jar --js=dygraph-utils.js --js=dashed-canvas.js --js=dygraph-options-reference.js --js=dygraph-tickers.js --js=dygraph-gviz.js --js=dygraph-options.js --js_output_file=/tmp/out.js --compilation_level ADVANCED_OPTIMIZATIONS --warning_level VERBOSE --externs dygraph-externs.js
As each file is closurized, it can be added as a "--js" parameter.
* @constructor
*/
var DygraphOptions = function(dygraph) {
+ /**
+ * The dygraph.
+ * @type {Dygraph}
+ */
this.dygraph_ = dygraph;
- /** @type {Array.<{options: Object, series: string}>} @private */
+ /**
+ * Array of axis index to { series : [ series names ] , options : { axis-specific options. }
- * @type {Array.<{series : Array.<string>, options : Object}>}
++ * @type {Array.<{series : Array.<string>, options : Object}>} @private
+ */
this.yAxes_ = [];
- /** @type {{options: Object}} @private */
- this.xAxis_ = {options: {}};
- /** @type {Object} @private */
+
+ /**
- * { options : { axis-specific options. }
- * @type {Object}
++ * { options : { axis-specific options. } }
++ * @type {Object} @private
+ */
+ this.xAxis_ = {};
this.series_ = {};
// Once these two objects are initialized, you can call get();