Skip to content

Commit 4f850be

Browse files
committed
Fix - proper sign in th2 col draw
1 parent b82db24 commit 4f850be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/JSRoot.hist.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5173,7 +5173,7 @@ JSROOT.define(['d3', 'painter', 'gpad'], (d3, jsrp) => {
51735173

51745174
dy = handle.gry[j+1] - handle.gry[j];
51755175
y1 = Math.round(handle.gry[j] + dy*handle.ybar1);
5176-
dy = Math.round(dy*(handle.ybar2 - handle.ybar1)) || 1;
5176+
dy = Math.round(dy*(handle.ybar2 - handle.ybar1)) || -1;
51775177

51785178
let cmd1 = `M${x1},${y1}`,
51795179
entry = entries[colindx];

0 commit comments

Comments
 (0)