We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a3c645 commit 03f1a0bCopy full SHA for 03f1a0b
scripts/JSRootPainter.v6.js
@@ -180,7 +180,7 @@
180
var indx = parseFloat(d);
181
if (!this.regular_labels)
182
indx = (indx - this.axis.fXmin)/(this.axis.fXmax - this.axis.fXmin) * this.axis.fNbins;
183
- indx = Math.round(indx);
+ indx = Math.floor(indx);
184
if ((indx<0) || (indx>=this.axis.fNbins)) return null;
185
for (var i = 0; i < this.axis.fLabels.arr.length; ++i) {
186
var tstr = this.axis.fLabels.arr[i];
0 commit comments