Search found 6 matches

by provis
Wed Jul 11, 2007 9:16 am
Forum: VCL
Topic: Wrong correlation coefficient
Replies: 14
Views: 42796

thanks a lot, this is clear now; If I understand you correctly, to get the expected factors, I need to modify my series (add xmin to all x, add ymin to all y), before using AnswerVector ? Or is there another method/property I could use to get directly the coefficients used to draw the polynom (the p...
by provis
Tue Jul 10, 2007 3:18 pm
Forum: VCL
Topic: Wrong correlation coefficient
Replies: 14
Views: 42796

thanks for the reply but sorry, I did not understand it.
What do you mean by normalized equation ?
What is fp overflow ?
What should I do to get the correct coefficient ?
How come the coefficient for the highest degree is correct and not the others ?
thanks
by provis
Tue Jul 10, 2007 7:39 am
Forum: VCL
Topic: Wrong correlation coefficient
Replies: 14
Views: 42796

Hi Narcis, sorry for the late reply. To get the coefficient factors, we use the TCurveFittingFunction and AnswerVector. I have made another simple test case, which unfortunately I cannot ship because it uses some internal classes. Here is the description of my test, which you should be able to repro...
by provis
Fri Apr 13, 2007 2:16 pm
Forum: VCL
Topic: Wrong correlation coefficient
Replies: 14
Views: 42796

hi Narcis,
I will try to prepare a test case.
Until that, could you confirm you are not aware of known bugs
with correlation feature in your component.
thk
by provis
Fri Apr 06, 2007 12:00 pm
Forum: VCL
Topic: Wrong correlation coefficient
Replies: 14
Views: 42796

Wrong correlation coefficient

We use TeeChartPro V7 in Borland c++ builder.
On a graph, we display the correlation function, which is a polynom
of degree 1 (f(x)=ax + b
The graph is correct.
The coefficient for degree 1 is correct.
The coefficient for degree 0 is INCORRECT.
We use AnswerMethod to get the coefficients.
by provis
Tue Apr 20, 2004 9:32 am
Forum: VCL
Topic: No ParentChart to validate datasource
Replies: 1
Views: 7331

No ParentChart to validate datasource

Following code worked ok in BorlandC++ with TeeChartPro5
FCorrSeries = new TLineSeries(Chart);
FCorrSeries->DataSources->Clear();
FCorrSeries->DataSources->Add(FChartSeries);

In TeeChartPro7, we have error:
No ParentChart to validate datasource
Any idea ?