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 2d6ca2e commit 0bf78b5Copy full SHA for 0bf78b5
scripts/JSRootPainter.more.js
@@ -881,7 +881,7 @@
881
// either graph drawn directly or
882
// graph is first object in list of primitives
883
var pad = this.root_pad();
884
- if (!pad || !pad.fPrimitives || (pad.fPrimitives.arr[0] === graph)) res.Axis = "AXIS";
+ if (!pad || (pad.fPrimitives && (pad.fPrimitives.arr[0] === graph))) res.Axis = "AXIS";
885
} else if (res.Axis.indexOf("A")<0) {
886
res.Axis = "AXIS," + res.Axis;
887
}
0 commit comments