Changed unstackPointAtIndex to not be decorated as private
authoradam-p <Adam@TITAN.(none)>
Mon, 4 Oct 2010 14:11:05 +0000 (10:11 -0400)
committeradam-p <Adam@TITAN.(none)>
Mon, 4 Oct 2010 14:11:05 +0000 (10:11 -0400)
dygraph-canvas.js
dygraph.js

index 3c059db..cc1baaf 100644 (file)
@@ -206,7 +206,7 @@ DygraphLayout.prototype.updateOptions = function(new_options) {
  * Return a copy of the point at the indicated index, with its yval unstacked.
  * @param int index of point in layout_.points
  */
-DygraphLayout.prototype.unstackPointAtIndex_ = function(idx) {
+DygraphLayout.prototype.unstackPointAtIndex = function(idx) {
   var point = this.points[idx];
   
   // Clone the point since we modify it
index 2923aa3..ebd6ebe 100644 (file)
@@ -1090,7 +1090,7 @@ Dygraph.prototype.setSelection = function(row) {
         var point = this.layout_.points[pos+row];
         
         if (this.attr_("stackedGraph")) {
-          point = this.layout_.unstackPointAtIndex_(pos+row);
+          point = this.layout_.unstackPointAtIndex(pos+row);
         }
         
         this.selPoints_.push(point);