Search found 6 matches

by NojaPower
Tue Sep 29, 2009 12:06 am
Forum: .NET
Topic: Annotation creation in code
Replies: 4
Views: 3832

Re: Annotation creation in code

Hi Yeray,
The key line i take it is:
annotation1.Callout.Arrow.Visible = true;

Without this the callout is not drawn. For mind, it is a little misleading - if you did not want to have an arrow visible you would not set this value to true.

Cheers,
NojaPower
by NojaPower
Thu Sep 24, 2009 9:59 pm
Forum: .NET
Topic: CrossPoints function not working for vertical lines
Replies: 3
Views: 2842

Re: CrossPoints function not working for vertical lines

Hi Yeray,
Pass in coordinates in which one of the lines is vertical (i.e. the x coordinates are the same value), and the other intersects the vertical line at some point. CrossingLInes() will return true, but the value of x and y are NaN.

Cheers,
NojaPower
by NojaPower
Thu Sep 24, 2009 9:55 pm
Forum: .NET
Topic: Annotation creation in code
Replies: 4
Views: 3832

Re: Annotation creation in code

Hi Yeray,
Why do you need to re-initialise the values after each draw of the chart? Why can it not be performed during the initialise component.

Cheers,
NojaPower
by NojaPower
Thu Sep 24, 2009 5:03 am
Forum: .NET
Topic: CrossPoints function not working for vertical lines
Replies: 3
Views: 2842

CrossPoints function not working for vertical lines

Hi, The CrossPoints function is not calculating intersections correctly for vertical line segments. That is, in one of the lines being tested for intersection the x values are the same. I have resolved the issue to Drawing.Graphics3D.CrossingLines() function. The x and y parameters are being set to ...
by NojaPower
Thu Sep 24, 2009 4:46 am
Forum: .NET
Topic: Annotation creation in code
Replies: 4
Views: 3832

Annotation creation in code

Version: 3.5.3498.27368 OS: Windows XP Hi, I am trying to create an annotation with a callout in code but are having trouble getting it to display. I am after a annotation with no border, a gradient fill, and a shadow. The callout is to be red with no pointer. I have tried several variantions on the...
by NojaPower
Mon Sep 01, 2008 12:40 am
Forum: .NET
Topic: Decimal series exception
Replies: 1
Views: 1928

Decimal series exception

TeeChart version 3.5.3146.24806 The following code generates a System.ArrayTypeMismatchException in the series.Add() call. decimal[] yValues = new decimal[] {23.45m, 120.0m }; int[] xValues = new int[] { 0, 10 }; Series series = curveChart.Series.Add(new Steema.TeeChart.Styles.Line()); series.Add(xV...