From 8c03ba63fdda8a5b154f6db7fa57df154fd20437 Mon Sep 17 00:00:00 2001 From: adam-p Date: Mon, 4 Oct 2010 10:11:05 -0400 Subject: [PATCH] Changed unstackPointAtIndex to not be decorated as private --- dygraph-canvas.js | 2 +- dygraph.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); -- 2.7.4