X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=dygraph-options.js;h=2dc88ae471cacaf48bc05a7f90b14ea35bd0ef01;hb=d3b990da77ec190c27faf0fb5c7a6a4034880c2f;hp=879a9e1fc36dfded5e0505b090eec760b559f553;hpb=2ed3480b3d067f380abf6636cb984ac9ff7cd484;p=dygraphs.git diff --git a/dygraph-options.js b/dygraph-options.js index 879a9e1..2dc88ae 100644 --- a/dygraph-options.js +++ b/dygraph-options.js @@ -36,7 +36,7 @@ var DygraphOptions = (function() { var DygraphOptions = function(dygraph) { /** * The dygraph. - * @type {Dygraph} + * @type {!Dygraph} */ this.dygraph_ = dygraph; @@ -73,7 +73,7 @@ var DygraphOptions = function(dygraph) { * Not optimal, but does the trick when you're only using two axes. * If we move to more axes, this can just become a function. * - * @type {Object.} + * @type {Object.} * @private */ DygraphOptions.AXIS_STRING_MAPPINGS_ = { @@ -370,15 +370,6 @@ DygraphOptions.prototype.seriesNames = function() { return this.labels_; }; -/* Are we using this? */ -/** - * Return the index of the specified series. - * @param {string} series the series name. - */ -DygraphOptions.prototype.indexOfSeries = function(series) { - return this.series_[series].idx; -}; - return DygraphOptions; })();