Plot annotation
Posted: Fri Mar 20, 2009 9:02 pm
When I upgraded to v8.04, I started seeing a thin grey line being drawn beneath my plot annotation that I can't seem to prevent. This was not there in my previous version..which was v8.something.
I display the annotation to the right of my plot with the following code:
PlotAnnotation := TAnnotationTool.Create(Self);
PlotAnnotation.ParentChart := Chart1;
PlotAnnotation.Shape.Color := PlotCfg.BackgroundColor;
PlotAnnotation.Shape.ShadowColor := PlotCfg.BackgroundColor;
PlotAnnotation.Shape.Frame.Visible := False;
PlotAnnotation.Text := AnnotationStr;
PlotAnnotation.Shape.CustomPosition := True;
Chart1.MarginRight := 25;
PlotAnnotation.Shape.ShapeBounds.TopLeft.X := Chart1.ChartRect.BottomRight.X + 15;
PlotAnnotation.Shape.ShapeBounds.TopLeft.Y := Chart1.ChartRect.TopLeft.Y;
PlotAnnotation.Visible := True;
I can send a screen shot if you tell me how.
Any thoughts?
I display the annotation to the right of my plot with the following code:
PlotAnnotation := TAnnotationTool.Create(Self);
PlotAnnotation.ParentChart := Chart1;
PlotAnnotation.Shape.Color := PlotCfg.BackgroundColor;
PlotAnnotation.Shape.ShadowColor := PlotCfg.BackgroundColor;
PlotAnnotation.Shape.Frame.Visible := False;
PlotAnnotation.Text := AnnotationStr;
PlotAnnotation.Shape.CustomPosition := True;
Chart1.MarginRight := 25;
PlotAnnotation.Shape.ShapeBounds.TopLeft.X := Chart1.ChartRect.BottomRight.X + 15;
PlotAnnotation.Shape.ShapeBounds.TopLeft.Y := Chart1.ChartRect.TopLeft.Y;
PlotAnnotation.Visible := True;
I can send a screen shot if you tell me how.
Any thoughts?