I'm trying to right-adjust text when i'm using "addtext" and the option control "just(arg)" for a graph. See the code below (last row) and graph. It doesn't work, the text i the graph are both left-adjusted. I'm using
Code: Select all
g.addtext(!pos,-0.5,just("r")) "Right adjusted text"Any idea what's wrong?
Regards Johan
Code: Select all
wfcreate(a) annual 2000 2015
Series a1
a1.adjust = 1 .. 2
Graph g.line a1
!pos = g.@axispos("2015","b")
g.addtext(!pos,-0.3) "Left adjusted text"
g.addtext(!pos,-0.5,just("r")) "Right adjusted text"