Arrow series pen style

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
pssdelphi
Newbie
Newbie
Posts: 29
Joined: Thu Oct 21, 2004 4:00 am

Arrow series pen style

Post by pssdelphi » Thu Apr 19, 2007 10:50 pm

Hello,

Im trying to have some arrows in a series have different line styles.

Ive tried placing:

ArrowSeries.Style:=psDashDot;

in the arrow series BeforeAdd event but with no change from the default style.

How could I have say, every fifth arrow psDashDot and keep the others psSolid?

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

Post by Pep » Mon Apr 23, 2007 11:45 am

Hi,

I'm afraid there's not a way to do this easily (using the Arrow series events). But there're two ways that I can think in order to accomplish it :
1) using another Arrow series to display the arrows that must be different.
2) draw the arrows manually in the OnafterDraw event using the Canvas techniques :
Chart1.Canvas.Pen.Style:=psDashDot;
Chart1.Canvas.Arrow(false,....);

pssdelphi
Newbie
Newbie
Posts: 29
Joined: Thu Oct 21, 2004 4:00 am

Post by pssdelphi » Mon Apr 23, 2007 1:36 pm

Ok, do you think something like this will be added to version 8?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Apr 23, 2007 2:26 pm

Hi pssdelphi,

I think it's unlikely to be included in first v8 version. I wouldn't discard this for later maintenance releases.

Please be aware at this forum for new release announcements and what's being implemented/fixed on them.

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply