Is there any way I can place an arrow at the end of a line using your EndCaps features in Drawline? Can I display a symbol and rotate it like I want, in particular an arrow?
Ed Reyes
Arrows at end of a line
-
- Newbie
- Posts: 16
- Joined: Fri Jul 27, 2007 12:00 am
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Ed,
It's possible to use an arrow as EndCap like this:
However, Steema.TeeChart.Drawing.ChartPen doesn't support either CustomStartCap or CustomEndCap. I've added those properties to the wish-list to be considered for inclusion in future releases.
It's possible to use an arrow as EndCap like this:
Code: Select all
Steema.TeeChart.Tools.DrawLine drawLine1 = new Steema.TeeChart.Tools.DrawLine(tChart1.Chart);
drawLine1.Pen.EndCap = System.Drawing.Drawing2D.LineCap.ArrowAnchor;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Newbie
- Posts: 29
- Joined: Wed Jun 20, 2007 12:00 am
Re: Arrows at end of a line
I know this is a bit of an old topic but I have a question about the arrow endcaps that can be placed on the lines drawn with the DrawLine tool.
When I use the code you demonstrated, the arrow does appear on the end of the line but it's really small.
Is there any way to control the size of the endcap arrow to make it appear larger on the end of the line?
Thanks
When I use the code you demonstrated, the arrow does appear on the end of the line but it's really small.
Is there any way to control the size of the endcap arrow to make it appear larger on the end of the line?
Thanks
Re: Arrows at end of a line
Hello Aaron Peronto,
I'm sorry but actually is not possible change size and other properties EndCap of Tool DrawLine.We have added in whis-list with number [TF02013119] to be considered for inclusion in future releases.
On the other hand, If you want you could change size line, but this effects all the line, see next line of code:
Thanks,
I'm sorry but actually is not possible change size and other properties EndCap of Tool DrawLine.We have added in whis-list with number [TF02013119] to be considered for inclusion in future releases.
On the other hand, If you want you could change size line, but this effects all the line, see next line of code:
Code: Select all
drawLine1.Pen.Width = 2;
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |