Page 1 of 1

TeeChart.Styles.Arrow LinePen Issues

Posted: Fri Jan 28, 2011 7:05 am
by 15657280
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?

Re: TeeChart.Styles.Arrow LinePen Issues

Posted: Fri Jan 28, 2011 10:58 am
by 10050769
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,

Re: TeeChart.Styles.Arrow LinePen Issues

Posted: Fri Jan 28, 2011 11:24 pm
by 15657280
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.

Re: TeeChart.Styles.Arrow LinePen Issues

Posted: Mon Jan 31, 2011 10:47 am
by narcis
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;