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 0bdf3b3 commit e72940cCopy full SHA for e72940c
modules/hist/THStackPainter.mjs
@@ -366,8 +366,10 @@ class THStackPainter extends ObjectPainter {
366
} else {
367
for (let indx = 0; indx < nhists; ++indx) {
368
const rindx = this.options.horder ? indx : nhists - indx - 1,
369
- hist = hlst.arr[rindx],
370
- hopt = hlst.opt[rindx];
+ hist = hlst.arr[rindx], hopt = hlst.opt[rindx], hist0 = this.painters[indx].getHisto();
+ if (this.options._pfc) hist.fFillColor = hist0.fFillColor;
371
+ if (this.options._plc) hist.fLineColor = hist0.fLineColor;
372
+ if (this.options._pmc) hist.fMarkerColor = hist0.fMarkerColor;
373
this.painters[indx].updateObject(hist, hopt || hist.fOption || this.options.hopt);
374
}
375
0 commit comments