User (Legacy) Posted September 6, 1999 Report Share Posted September 6, 1999 Hi, I fixed my problems with the annotation objects as labels on the axis. I managed to to fix their strange position using the "PrePaint" event. So on the screen everything looks fine. Not so on the printout. The labels appear somewhere close to the top of the diagramm instead of beimg printed right below the x axis. The code I used in the PrePaint event is something like Set AnnotX = .GetExtension("AnnotationX.AnnList") twy = Screen.TwipsPerPixelY Set txtAnnot = AnnotX.Item(nIndex) chartFX1.ValueToPixel xMin, yMin, X, Y, AXIS_Y txtAnnot.Left = X txtAnnot.Top = chartFX1.Height / twy - 100 I guess the problems arise from the "Screen.TwipsPerPixelY" Is there anything the like I can do for the printing?? Any help greatly welcome Tnx Peter Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.