Skip to content

Commit dda8e93

Browse files
committed
Support "nofillstats" option for TPaveStats
Used for the case when content filled by other means
1 parent e0bef35 commit dda8e93

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/hist/TPavePainter.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class TPavePainter extends ObjectPainter {
9595
}
9696

9797
// fill stats before drawing to have coordinates early
98-
if (this.isStats() && !(pp && pp._fast_drawing)) {
98+
if (this.isStats() && !this.NoFillStats && !(pp && pp._fast_drawing)) {
9999

100100
let main = pt.$main_painter || this.getMainPainter();
101101

@@ -1177,6 +1177,8 @@ class TPavePainter extends ObjectPainter {
11771177
painter.UseContextMenu = true;
11781178
}
11791179

1180+
painter.NoFillStats = (opt == "nofillstats");
1181+
11801182
switch (pave._typename) {
11811183
case "TPaveLabel":
11821184
painter.paveDrawFunc = painter.drawPaveLabel;

0 commit comments

Comments
 (0)