Skip to content

Commit 2ae0fdf

Browse files
committed
fixups thanks to AJ review
1 parent bff79dc commit 2ae0fdf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/traces/bar/calc.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ module.exports = function calc(gd, trace) {
2323

2424
if(trace.orientation === 'h') {
2525
size = xa.makeCalcdata(trace, 'x', msUTC);
26-
pos = ya.makeCalcdata(trace, 'y', msUTC);
26+
pos = ya.makeCalcdata(trace, 'y');
2727
} else {
2828
size = ya.makeCalcdata(trace, 'y', msUTC);
29-
pos = xa.makeCalcdata(trace, 'x', msUTC);
29+
pos = xa.makeCalcdata(trace, 'x');
3030
}
3131

3232
// create the "calculated data" to plot

0 commit comments

Comments
 (0)