I can't figure out how to change the color of the lines from a graph that go to the text boxes when you move them.
I tried
seriesPt.ColorEachLine := True;
seriesPt.Pointer.Pen.Color := clRed;
seriesPt.Pointer.Color := clRed;
ptIdx := seriesPt.AddXY(xval, yval, 'test', clRed);
but the line still comes out white, what am I missing?
Thanks.
color of line to text box
Re: color of line to text box
Hi,
Do you mean the callout lines (the lines drawn from the points to the marks)?
Try this:
Do you mean the callout lines (the lines drawn from the points to the marks)?
Try this:
Code: Select all
seriesPt.Marks.Callout.Pen.Color:=clRed;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: color of line to text box
I don't know what they are called, see attached image.
I tried the
seriesPt.Marks.Callout.Pen.Color:=clRed;
but it did not work.
Here is code I use to get the attached image.
seriesPt.Marks.Callout.Pen.Color:=clRed; //I also put this at the end of the code below
ptIdx := seriesPt.AddXY(xval, yval);
seriesPt.Marks[ptIdx].Visible := showIt;
seriesPt.Marks[ptIdx].Color := clGreen;
seriesPt.Marks[ptIdx].Pen.Color := clRed;
I tried the
seriesPt.Marks.Callout.Pen.Color:=clRed;
but it did not work.
Here is code I use to get the attached image.
seriesPt.Marks.Callout.Pen.Color:=clRed; //I also put this at the end of the code below
ptIdx := seriesPt.AddXY(xval, yval);
seriesPt.Marks[ptIdx].Visible := showIt;
seriesPt.Marks[ptIdx].Color := clGreen;
seriesPt.Marks[ptIdx].Pen.Color := clRed;
- Attachments
-
- line color.png (7.25 KiB) Viewed 7690 times
Re: color of line to text box
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: color of line to text box
Thanks, that worked good.