Jump to content
Software FX Community

Placing annoation objects before a chart window is created.

User (Legacy)

Recommended Posts

I am trying to place annotation objects onto a chart before the window is 

created and not having much luck.

Specifically, it doesn't matter what I specify for Top and Left for the

annotation object; when the chart window is created the annotation objects

all show up at the chart area origin (that is, the bottom left corner; not

the window origin at the top right.) If I choose the location of the

annoation objects AFTER creating the window, everything works fine.

My goal is to be able to create a series of charts in a windowless batch

process (to be printed or directly exported to bitmaps) and use annotation

text to display the date generated near the top left corner of each one.

However, if I print or export a graph that I have not created in a window,

the annotation objects again all default to the bottom left.

In contrast, if I create a fixed legend box, I can specify it's location

before creating the chart window and it will come up in the right place, and

will also print in roughly the right place regardless of if I have ever

created a window. This is the funationality I need from the annotation


(Using VC++,DLL)

Andrew Pane


Merak Projects Ltd.

A Division of Schlumberger GeoQuest


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...