Skip to content

Commit eb11bc0

Browse files
committed
Last bin not used in marker drawings
1 parent e6b05d9 commit eb11bc0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
8. Provide drawing of artificial "$legend" item - it creates TLegend for all primitives in pad
1313
Can be used when several histograms or several graphs superimposed.
1414
9. Let configure "&toolbar=vert" in URL to change orientation of tool buttons
15+
10. Improve markers and error bars drawing for TH1/TProfile
1516

1617

1718
## Changes in 5.4.0

scripts/JSRootPainter.hist.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3840,7 +3840,7 @@
38403840
// check if we should draw markers or error marks directly, skipping optimization
38413841
if (do_marker || do_err)
38423842
if (!JSROOT.gStyle.OptimizeDraw || ((right-left<50000) && (JSROOT.gStyle.OptimizeDraw==1))) {
3843-
for (i = left; i <= right; ++i) {
3843+
for (i = left; i < right; ++i) {
38443844
if (extract_bin(i)) {
38453845
if (path_marker !== null)
38463846
path_marker += pthis.markeratt.create(midx, my);

0 commit comments

Comments
 (0)