TeeChart V6

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Roy
Newbie
Newbie
Posts: 64
Joined: Wed Feb 25, 2009 12:00 am
Location: Dallas, Texas
Contact:

TeeChart V6

Post by Roy » Fri Jul 17, 2009 6:49 pm

Where can I find information to change the Series Marks Arrowhead at runtime?

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TeeChart V6

Post by Yeray » Mon Jul 20, 2009 8:24 am

Hi Roy,

You could do something like this:

Code: Select all

Series1.Marks.Callout.ArrowHead := ahSolid;
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Roy
Newbie
Newbie
Posts: 64
Joined: Wed Feb 25, 2009 12:00 am
Location: Dallas, Texas
Contact:

Re: TeeChart V6

Post by Roy » Tue Jul 21, 2009 3:21 pm

Thanks. That worked and looks good. Is there anywhere that I can find this information?

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TeeChart V6

Post by Yeray » Tue Jul 21, 2009 3:51 pm

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.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Roy
Newbie
Newbie
Posts: 64
Joined: Wed Feb 25, 2009 12:00 am
Location: Dallas, Texas
Contact:

Re: TeeChart V6

Post by Roy » Tue Jul 21, 2009 4:38 pm

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?

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TeeChart V6

Post by Yeray » Wed Jul 22, 2009 8:31 am

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.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Roy
Newbie
Newbie
Posts: 64
Joined: Wed Feb 25, 2009 12:00 am
Location: Dallas, Texas
Contact:

Re: TeeChart V6

Post by Roy » Wed Jul 22, 2009 3:47 pm

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?

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TeeChart V6

Post by Yeray » Thu Jul 23, 2009 7:44 am

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.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply