Skip to content

Commit a0ece9a

Browse files
committed
Use ALP as default draw options for TGraph
1 parent 6a7115a commit a0ece9a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/JSRootPainter.more.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -817,6 +817,8 @@
817817
if ((typeof opt == "string") && (opt.indexOf("same ")==0))
818818
opt = opt.substr(5);
819819

820+
if (!opt && !this.main_painter()) opt = "alp";
821+
820822
var graph = this.GetObject(),
821823
d = new JSROOT.DrawOptions(opt);
822824

0 commit comments

Comments
 (0)