From: adam-p Date: Mon, 4 Oct 2010 14:11:05 +0000 (-0400) Subject: Changed unstackPointAtIndex to not be decorated as private X-Git-Tag: v1.0.0~644^2 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=8c03ba63fdda8a5b154f6db7fa57df154fd20437;p=dygraphs.git Changed unstackPointAtIndex to not be decorated as private --- diff --git a/dygraph-canvas.js b/dygraph-canvas.js index 3c059db..cc1baaf 100644 --- a/dygraph-canvas.js +++ b/dygraph-canvas.js @@ -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 diff --git a/dygraph.js b/dygraph.js index 2923aa3..ebd6ebe 100644 --- a/dygraph.js +++ b/dygraph.js @@ -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);