Page 1 of 1

Position when adding text

Posted: Tue Dec 06, 2016 12:44 am
by johansamuelsson
Hello

I have problems with the position when adding text (.addtext) to a graphobject. In the example I put a title at the position "-0.38, -0.50" and a subtitle at the position "-0.38, -0.28" (and a line at the same postition to clarify).

Although I enter the same x-position for the two textboxes ("Title" and "Title one more time (subtitle)"), I don't get the same x-position in the graph. The text "Title one more time (subtitle)" seems to be positioned too far to the left.

(I have sometimes got the same problem but the opposite, i.e. the second title is positioned too far to the right)

Code: Select all

WfCreate u 10 Series s1 = @Rnorm Series s2 = @Rnorm Group s s1 s2 Freeze(g) s.mixed g.options size(6,4) g.AddText(-0.38, -0.50,Just(L),Font(Verdana,12,B))Title g.AddText(-0.38, -0.28,Just(L),Font(Verdana,10))Title one more time (subtitle) g.addarrow pos(-0.38,-0.6,-0.38,0) color(red) startsym(none) endsym(none)
g.jpg
g.jpg (49.58 KiB) Viewed 3688 times
Regards Johan

Re: Position when adding text

Posted: Wed Dec 07, 2016 10:43 am
by EViews Jason
It will be fixed in the next patch