Right adjusted text - addtext
Posted: Wed Mar 09, 2016 9:08 am
Hi
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
Source: http://www.eviews.com/help/helpintro.ht ... 95.05.html
Any idea what's wrong?
Regards Johan
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"