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)
Regards Johan