Merge branch 'master' of github.com:kberg/dygraphs into axis-label-font-size
[dygraphs.git] / dygraph.js
index 1ac7d43..4c8c65d 100644 (file)
@@ -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')