My mark labels overlap
My mark labels overlap
I want my lables to be easily seen and detect when they are overlapping. I thought TChart did this automatically but I guess not. If I could make the arrow lengths different for each mark, that would also help (assuming that the labels would reposition themselves at the end of the arrow shaft). However, I cannot seem to find any way to make each individual arrow a different length. It seems they must all be set to the same length. Is it possible, and how do I do it? (code snippet please)
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi C.H. Luke,
Have you tried using AutoMarkPosition?
You can also try using something like this:
Have you tried using AutoMarkPosition?
Code: Select all
Series1.AutoMarkPosition := True;
You can also try using something like this:
Code: Select all
procedure TForm1.Series1GetMarkText(Sender: TChartSeries;
ValueIndex: Integer; var MarkText: String);
begin
Series1.Marks.ArrowLength := ValueIndex * 5;
end;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |