X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=dygraph.js;h=4c8c65db1b8f2035af1d19265502741859a3aad8;hb=7ff98630ca7cc2760e2115ad2372053184d3e717;hp=1ac7d43b4fd6d3568e068e37392596e128603a6d;hpb=901b2ebbe25c116c93550cfca91b0704d751d997;p=dygraphs.git diff --git a/dygraph.js b/dygraph.js index 1ac7d43..4c8c65d 100644 --- a/dygraph.js +++ b/dygraph.js @@ -598,6 +598,9 @@ Dygraph.prototype.getOption = function(name, opt_seriesName) { return this.attr_(name, opt_seriesName); }; +Dygraph.prototype.getOptionForAxis = function(name, axis) { + return this.attributes_.getForAxis(name, axis); +} /** * @private * @param String} axis The name of the axis (i.e. 'x', 'y' or 'y2')