Jump to content
Software FX Community

Annotation Question


User (Legacy)

Recommended Posts

Hi,

I have a question regarding annotation.

I'm using the following code and it's placing my text annotation at the

bottom (which is where I want it) but upside down. Any suggestions on how to

flip it 180 degrees?

For i = 0 To (Chart.NValues - 1)

Set ObjText = AnnotX.Add(6)

strFromValue = Chart.IniValueEx(0, i)

strToValue = Chart.ValueEx(0, i)

varAttachString = CStr(i + .9) & " , " & CStr(strFromValue) & " , " &

CStr(i + 1.3) & " , " & CStr(strToValue)

ObjText.Attach 2, varAttachString

ObjText.Text = "Blah"

ObjText.BkColor = CHART_TRANSPARENT

ObjText.Orientation = 2

Next

Thanks,

Shane

Link to comment
Share on other sites

ah ok. Thanks again for your help.

Shane

"SoftwareFX Support" <support@softwarefx.com> wrote in message

news:VVvaY6aNDHA.2788@webserver1.softwarefx.com...

> It is upside-down because you are assigning the orientation to be

> TO_RIGHT2LEFT (2).

>

> Simply don't assign the Orientation to anything, the default is a regular

> text (left to right).

>

> --

> FP

> Software FX, Inc.

>

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...