TeeChart.Styles.Arrow LinePen Issues

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Ivan_vS
Newbie
Newbie
Posts: 6
Joined: Mon Sep 20, 2010 12:00 am

TeeChart.Styles.Arrow LinePen Issues

Post by Ivan_vS » Fri Jan 28, 2011 7:05 am

Steema.TeeChart.Styles.Arrow ARROW = new Steema.TeeChart.Styles.Arrow (Chart.Chart);

later ... followed by:

ARROW.LinePen.Visible = true;
ARROW.LinePen.Width = 10;
ARROW.LinePen.Style = System.Drawing.Drawing2D.DashStyle.DashDot;

has no effect on the arrow series lines?

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: TeeChart.Styles.Arrow LinePen Issues

Post by Sandra » Fri Jan 28, 2011 10:58 am

Hello Ivan_Vs,

If you want change line pen of arrow Series, you must change property pen of Pointer, as do in lines below:

Code: Select all

 arrow.LinePen.Width = 5;
  arrow.LinePen.Style = System.Drawing.Drawing2D.DashStyle.DashDot;
I hope will helps.

Thanks,
Best Regards,
Sandra Pazos / 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

Ivan_vS
Newbie
Newbie
Posts: 6
Joined: Mon Sep 20, 2010 12:00 am

Re: TeeChart.Styles.Arrow LinePen Issues

Post by Ivan_vS » Fri Jan 28, 2011 11:24 pm

Thanks Sandra,

However I have been using the Arrow Series with one entry:

eg: ARROW.Add (0.0, 0.0, 1.0, 1.0);

... and the LinePen does not seem to work in that circumstance.

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

Re: TeeChart.Styles.Arrow LinePen Issues

Post by Narcís » Mon Jan 31, 2011 10:47 am

Hi Ivan_Vs,

I'm afraid Sandra confused herself. You should use Pointer.Pen instead of LinePen, for example:

Code: Select all

        ARROW.Pointer.Pen.Width = 5;
        ARROW.Pointer.Pen.Style = System.Drawing.Drawing2D.DashStyle.DashDot;
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