When I use the labstyle-option then the labsize is correct but the label shifts into the axis (tested with Stata 15.1 and 16.0). This does not happen when I use the bar and not the hbar graph. Any idea how to solve this?
Code:
sysuse auto, clear graph hbar (mean) trunk, over(foreign) name(def) graph hbar (mean) trunk, over(foreign, label(labstyle(small_label))) name(def_slab) graph bar (mean) trunk, over(foreign) name(def_bar) graph bar (mean) trunk, over(foreign, label(labstyle(small_label))) name(def_lab_bar)
The hbar graph without using labstyle-option:
Array
The hbar graph using labstyle-option:
Array
0 Response to graph hbar - labstyle-Option shifts label into axis
Post a Comment