Skip to content

Commit 93316a3

Browse files
committed
Use z axis title when drawing palette
1 parent 8fd5548 commit 93316a3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/JSRootPainter.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3630,7 +3630,8 @@
36303630
.orient("right")
36313631
.tickPadding(axisOffset)
36323632
.tickSize(-tickSize, -tickSize / 2, 0)
3633-
.ticks(nbr1);
3633+
.ticks(nbr1)
3634+
.tickFormat(function(d) { return d; });
36343635

36353636
var zax = this.draw_g.append("svg:g")
36363637
.attr("class", "zaxis")
@@ -6325,7 +6326,7 @@
63256326
axis['fLabelFont'] = 42;
63266327
axis['fChopt'] = "";
63276328
axis['fName'] = "";
6328-
axis['fTitle'] = "";
6329+
axis['fTitle'] = this.histo.fZaxis.fTitle;
63296330
axis['fTimeFormat'] = "";
63306331
axis['fFunctionName'] = "";
63316332
axis['fWmin'] = 0;

0 commit comments

Comments
 (0)