Skip to content

Commit c57f717

Browse files
committed
pass opts to bar-like hoverPoints method
1 parent 266fced commit c57f717

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

test/jasmine/tests/bar_test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2296,7 +2296,7 @@ describe('bar hover', function() {
22962296

22972297
function _hover(gd, xval, yval, hovermode) {
22982298
var pointData = getPointData(gd);
2299-
var pts = Bar.hoverPoints(pointData, xval, yval, hovermode);
2299+
var pts = Bar.hoverPoints(pointData, xval, yval, hovermode, {});
23002300
if(!pts) return false;
23012301

23022302
var pt = pts[0];
@@ -2663,8 +2663,8 @@ describe('bar hover', function() {
26632663
barmode: m
26642664
})
26652665
.then(function() {
2666-
var pt0 = Bar.hoverPoints(getPointData(gd, 0), 0, 1, 'x')[0];
2667-
var pt1 = Bar.hoverPoints(getPointData(gd, 1), 0, 1, 'x')[0];
2666+
var pt0 = Bar.hoverPoints(getPointData(gd, 0), 0, 1, 'x', {})[0];
2667+
var pt1 = Bar.hoverPoints(getPointData(gd, 1), 0, 1, 'x', {})[0];
26682668

26692669
expect(pt0.yLabelVal).toBe(0, 'y label value for data[0]');
26702670
expect(pt1.yLabelVal).toBe(1, 'y label value for data[1]');

test/jasmine/tests/funnel_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1309,7 +1309,7 @@ describe('funnel hover', function() {
13091309

13101310
function _hover(gd, xval, yval, hovermode) {
13111311
var pointData = getPointData(gd);
1312-
var pts = Funnel.hoverPoints(pointData, xval, yval, hovermode);
1312+
var pts = Funnel.hoverPoints(pointData, xval, yval, hovermode, {});
13131313
if(!pts) return false;
13141314

13151315
var pt = pts[0];

test/jasmine/tests/waterfall_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1345,7 +1345,7 @@ describe('waterfall hover', function() {
13451345

13461346
function _hover(gd, xval, yval, hovermode) {
13471347
var pointData = getPointData(gd);
1348-
var pts = Waterfall.hoverPoints(pointData, xval, yval, hovermode);
1348+
var pts = Waterfall.hoverPoints(pointData, xval, yval, hovermode, {});
13491349
if(!pts) return false;
13501350

13511351
var pt = pts[0];

0 commit comments

Comments
 (0)