Search found 5 matches

by Anton
Mon May 02, 2011 9:36 am
Forum: VCL
Topic: Wrong correlation coefficient
Replies: 14
Views: 42884

Re: Wrong correlation coefficient

And for whatever it is worth here are the conversions for second and third order polynominals. 'y = a(2)*x^2 + a(1)*x + a(0) 'y-ymin = b(2)*(x-xmin)^2 + b(1)*(x-xmin) + b(0) a(2) = b(2) a(1) = b(1) - 2*b(2)*xmin a(0) = b(2)*Math.Pow(xmin,2) - b(1)*xmin + b(0) + ymin 'y = a(3)*x^3 + a(2)*x^2 + a(1)* ...
by Anton
Fri Apr 22, 2011 9:24 am
Forum: .NET
Topic: Question on Contour series
Replies: 4
Views: 9151

Re: Question on Contour series

Ahh! I am also very interested in the answer to your question. However, awaiting the 'correct solution', you might be able to workaround your problem by plotting the data with "one" increment and then use custom labels to put on correct labels. TChart2.Axes.Left.Labels.Items.Clear() TChart2.Axes.Lef...
by Anton
Thu Apr 21, 2011 6:37 am
Forum: .NET
Topic: Did something happen to FillRectangle?
Replies: 2
Views: 6218

Re: Did something happen to FillRectangle?

Well, since I am using FillRectangle and also have the fear that it could be my program logic that has become unstable I did the legwork and installed the earlier version, "TeeChartNET2010VSNET2010_4.0.2011.02083". The old 4.0 version fills the rectangle as expected (from the documentation), from (X...
by Anton
Wed Apr 20, 2011 5:57 am
Forum: .NET
Topic: Increment issue.
Replies: 5
Views: 11738

Re: Increment issue.

What about custom labels. Will that solve your problem? TChart1.Axes.Left.Labels.Items.Clear() TChart1.Axes.Left.Labels.Items.Add(MIN, MIN.ToString())'or Format( TChart1.Axes.Left.Labels.Items.Add(MIN, MAX.ToString()) *I have not checked that piece of code myself. I use it to place logarithmic label...
by Anton
Tue Apr 19, 2011 3:31 pm
Forum: .NET
Topic: Did something happen to FillRectangle?
Replies: 2
Views: 6218

Did something happen to FillRectangle?

In my AfterDraw for a TChart I used g.FillRectangle(New SolidBrush(Color.FromArgb(128, Color.DarkOrange)), rect.X, rect.Y, rect.Width,rect.Height) I used this to draw a rectangle from where I first clicked to the current mouse position. However, after installing the latest (TeeChartNET2010VSNET2010_...