Add jsdoc to setVisibility.
authorRobert Konigsberg <konigsberg@gmail.com>
Fri, 13 Sep 2013 23:39:48 +0000 (19:39 -0400)
committerRobert Konigsberg <konigsberg@gmail.com>
Fri, 13 Sep 2013 23:39:48 +0000 (19:39 -0400)
dygraph.js

index 6e52555..6d970bb 100644 (file)
@@ -3509,6 +3509,9 @@ Dygraph.prototype.visibility = function() {
 
 /**
  * Changes the visiblity of a series.
+ *
+ * @param {Number} num the series index
+ * @param {Boolean} value true or false, identifying the visibility.
  */
 Dygraph.prototype.setVisibility = function(num, value) {
   var x = this.visibility();