More on series marks

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Gerard
Newbie
Newbie
Posts: 26
Joined: Fri Nov 15, 2002 12:00 am
Location: Australia
Contact:

More on series marks

Post by Gerard » Tue Jul 13, 2004 4:16 am

I am adding text entries to selected series as a method of displaying user entered comments on the graph. Previously I was doing this with annotations but I found the implementation less elegant than simply adding text to the series directly.

The series marks implementation is much better except for the fact that other graph series points are painted over the top of series mark text.

So, if I have a number of series in the chart, all with comments (series marks) painted at various point along each series, some of these comments (series marks) will have points from another series painted over them (depending on the series order).

This is less than desirable because I want to see all the comments regardless of the series order.

Is there a solution to this ?

Regards, David Peacock.

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Tue Jul 13, 2004 4:27 pm

Hi David,
Is there a solution to this ?
Not a pretty solution, the only that I know of is moving the Series Marks to a custom position or use Annotation tools as you used before.

Gerard
Newbie
Newbie
Posts: 26
Joined: Fri Nov 15, 2002 12:00 am
Location: Australia
Contact:

RE: More on series marks

Post by Gerard » Wed Jul 14, 2004 1:36 am

Thanks Pep.

I just spent the last couple of days changing the annotation implementation to the marks implementation, thinking it was a superior approach.

Seems to me, the problem is only a matter of when the marks are drawn and if this could be done after all series points are drawn then the solution would be fine.

After all, what's the point of having marks on the chart at all if they get covered by other graph series ?

Regards, David.

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Thu Jul 15, 2004 8:48 am

Hi David,
After all, what's the point of having marks on the chart at all if they get covered by other graph series ?
Well, this does not happesn always. And also, when happens normally there's a solution. In your case you can also change the arrow lenght for the Marks to make them visible.

Post Reply