Page 1 of 1

TeeChart V6

Posted: Fri Jul 17, 2009 6:49 pm
by 10052635
Where can I find information to change the Series Marks Arrowhead at runtime?

Re: TeeChart V6

Posted: Mon Jul 20, 2009 8:24 am
by yeray
Hi Roy,

You could do something like this:

Code: Select all

Series1.Marks.Callout.ArrowHead := ahSolid;

Re: TeeChart V6

Posted: Tue Jul 21, 2009 3:21 pm
by 10052635
Thanks. That worked and looks good. Is there anywhere that I can find this information?

Re: TeeChart V6

Posted: Tue Jul 21, 2009 3:51 pm
by yeray
Hi Roy,

The help says:
TArrowHeadStyle wrote:type TArrowHeadStyle = (ahNone, ahLine, ahSolid);

Unit
TeEngine

Description
Used by TCallout class to optionally display an "arrow head" shape at the end of the callout line.

Re: TeeChart V6

Posted: Tue Jul 21, 2009 4:38 pm
by 10052635
Thanks. One more question. Using the Series Marks with the text rotated 90 degrees, the text overlaps the arrow so that the first character is hard to read. Is there any way to change the spacing between the arrow and the text box?

Re: TeeChart V6

Posted: Wed Jul 22, 2009 8:31 am
by yeray
Hi Roy,

I'm afraid that you should change your marks positions manually like in this examples. This is a known problem already in the wish list to be fixed (TV52010462) in future releases.

Re: TeeChart V6

Posted: Wed Jul 22, 2009 3:47 pm
by 10052635
Thanks for the info. Will wait for that release.
Could you explain the Page property for a chart? Will this allow several graphs to be generated and then scrolled thru to view?

Re: TeeChart V6

Posted: Thu Jul 23, 2009 7:44 am
by yeray
Hi Roy,

The paging feature takes the variable MaxPointsPerPage and performs a SetMinMax in the bottom axis to show from point 0 to MaxPointsPerPage-1. Then it allows you to scroll through pages with the Next and Previous page functions. For example, having 100 points and setting MaxPointsPerPage to 10 it will show from point 0 to 9 by default. Then, the first call to Next function will perform a SetMinMax(10, 19) and so on.