Page 1 of 1

Arrow series pen style

Posted: Thu Apr 19, 2007 10:50 pm
by 9339638
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?

Posted: Mon Apr 23, 2007 11:45 am
by Pep
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,....);

Posted: Mon Apr 23, 2007 1:36 pm
by 9339638
Ok, do you think something like this will be added to version 8?

Posted: Mon Apr 23, 2007 2:26 pm
by narcis
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.