Hello.
I'm playing with the VCL 2010 demo and I've found a weird behaviour of the Smooth function. It works properly if I define all series and smooth functions (related to those series) using the "Edit chart" option. But if I define series and functions at my source code (exactly the same series and properties as I did before), the smooth functions are not smooth at all. They follow the reference series, but have big deviations (see the attached file, please).
Is this fixed at the release version?, because we were planning to upgrade to use it.
Thanks in advance,
María
Bug in Smooth function?
Re: Bug in Smooth function?
Forgot to mention... I'm using C++Builder 2010 and Windows 7.
Re: Bug in Smooth function?
Hi Maria,
I can see that having some points very near in XValue (in comparison with the other points proximity) the smoothed seems to give an strange behaviour.
Delphi example:
I've added it to the defect list to be revised in future releases (TV52014879).
I can see that having some points very near in XValue (in comparison with the other points proximity) the smoothed seems to give an strange behaviour.
Delphi example:
Code: Select all
uses Series, TeeSpline;
var Series1, Series2: TLineSeries;
TeeFunction1: TSmoothingFunction;
procedure TForm1.FormCreate(Sender: TObject);
begin
Chart1.View3D:=false;
Series1:=Chart1.AddSeries(TLineSeries.Create(self)) as TLineSeries;
Series1.AddXY(0,100);
Series1.AddXY(100,130);
Series1.AddXY(100.25,105);
Series1.AddXY(200,155);
Series2:=Chart1.AddSeries(TLineSeries.Create(self)) as TLineSeries;
TeeFunction1:= TSmoothingFunction.Create(self);
Series2.SetFunction(TeeFunction1);
Series2.DataSource:=Series1;
end;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Bug in Smooth function?
Have we found a solution for this issue yet? I'm encountering the same problem...
Re: Bug in Smooth function?
Hi,
I'm afraid not yet. I've incremented it's priority.
I'm afraid not yet. I've incremented it's priority.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |