Skip to content

Commit bc494e6

Browse files
committed
Update docu and changes
1 parent 411f6ff commit bc494e6

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

changes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
1. Upgrade lil-gui.mjs 0.19.2 -> 0.20.0
1111
1. Remove experimental RHist classes, deprecated in ROOT
1212
1. Internal - ws members are private, new methods has to be used
13+
1. Fix - ticks size and labels for kMoreLogLabels axis bit
1314

1415

1516
## Changes in 7.9.1

docs/JSROOT.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,9 @@ List of supported classes and draw options:
126126
[text](https://root.cern/js/latest/examples.htm#th1_text),
127127
[X+Y+](https://root.cern/js/latest/examples.htm#th1_x+y+),
128128
[tickxy](https://root.cern/js/latest/examples.htm#th1_tickxy),
129-
[xticks](https://root.cern/js/latest/examples.htm#th1_xticks)
129+
[xticks](https://root.cern/js/latest/examples.htm#th1_xticks),
130+
[logy](https://root.cern/js/latest/examples.htm#th1_logy),
131+
[mly](https://root.cern/js/latest/examples.htm#th1_mly)
130132
- TH2 : [scat](https://root.cern/js/latest/examples.htm#th2),
131133
[col](https://root.cern/js/latest/examples.htm#th2_col),
132134
[colz](https://root.cern/js/latest/examples.htm#th2_colz),
@@ -224,6 +226,20 @@ One can change some histograms colors using draw options:
224226
- xaxis_N: [X axis color](https://jsroot.gsi.de/dev/examples.htm#th1_xaxis_n)
225227
- yaxis_N: [Y axis color](https://jsroot.gsi.de/dev/examples.htm#th1_yaxis_n)
226228

229+
One also can modify histogram axes attributes by following option:
230+
- ctx: center title of X axis
231+
- cty: center title of Y axis
232+
- ctz: center title of Z axis
233+
- otx: place X axis title in opposite to normal corner
234+
- oty: place Y axis title in opposite to normal corner
235+
- otz: place Z axis title in opposite to normal corner
236+
- noex: no exponent for X axis labels
237+
- noey: no exponent for Y axis labels
238+
- noez: no exponent for Z axis labels
239+
- mlx: more log labels on X axis
240+
- mly: more log labels on Y axis
241+
- mlz: more log labels on Y axis
242+
227243
Here N can be existing ROOT color index or hex6/hex8 values like [line_ff00ff](https://jsroot.gsi.de/dev/?nobrowser&file=../files/hsimple.root&item=hpx;1&opt=line_ff00ff) or [fill_7733ff34](https://jsroot.gsi.de/dev/?nobrowser&file=../files/hsimple.root&item=hpx;1&opt=fill_7733ff34).
228244

229245

0 commit comments

Comments
 (0)