Skip to content

Commit 1979d00

Browse files
committed
Fix - correct tooltip handling for graphs with lines and markers
1 parent a73ad1d commit 1979d00

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
@@ -7,6 +7,7 @@
77
4. Fix - use error plot by default in TH1 only when positive sumw2 entry exists
88
5. Fix - for TH2 box draw option draw at least 1px rect for non-empty bin
99
6. Fix - support transparancy (alpha) in TColor (#45)
10+
7. Fix - correct tooltip handling for graphs with lines and markers
1011

1112

1213
## Changes in 4.4.2

scripts/JSRootPainter.more.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1844,7 +1844,7 @@
18441844
.attr("d", path)
18451845
.style("fill", marker.fill)
18461846
.style("stroke", marker.stroke);
1847-
if (nodes===null)
1847+
if ((nodes===null) && (this.draw_kind=="none"))
18481848
this.draw_kind = (this.optionMark==3) ? "path" : "mark";
18491849
}
18501850
}

0 commit comments

Comments
 (0)