From: Evert Timberg Date: Sat, 23 May 2015 19:15:04 +0000 (-0400) Subject: Rename onHover to events to match the line chart X-Git-Tag: v2.0-alpha~8^2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7606c7a8de2ad9fa5b8438d34f1956574c3a7b8;p=thirdparty%2FChart.js.git Rename onHover to events to match the line chart --- diff --git a/src/Chart.Scatter.js b/src/Chart.Scatter.js index d7318ad9c..5ac3d120e 100644 --- a/src/Chart.Scatter.js +++ b/src/Chart.Scatter.js @@ -114,7 +114,7 @@ }); // Events - helpers.bindEvents(this, this.options.tooltipEvents, this.onHover); + helpers.bindEvents(this, this.options.tooltipEvents, this.events); // Build Scale this.buildScale(); @@ -188,7 +188,7 @@ previousPoint: function(collection, index) { return collection[index + 1] || collection[index]; }, - onHover: function(e) { + events: function(e) { // If exiting chart if (e.type == 'mouseout') { return this;