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?
Plot annotation
Hi dpatch,
The only line I see using your code with v8.04 is the shadow. In case you want to hide it, add the following:
The only line I see using your code with v8.04 is the shadow. In case you want to hide it, add the following:
Code: Select all
PlotAnnotation.Shape.Shadow.Visible := False;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |