Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 194 - [TV52014879] Having some points very near in XValue (in comparison with the other ...
Summary: [TV52014879] Having some points very near in XValue (in comparison with the o...
Status: CONFIRMED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Other Components (show other bugs)
Version: unspecified
Hardware: All All
: Normal major
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-12 19:14 EDT by yeray alonso
Modified: 2013-11-20 10:02 EST (History)
0 users

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yeray alonso 2013-11-20 10:02:51 EST
Having some points very near in XValue (in comparison with the other points proximity) the smoothed seems to give an strange behaviour:
uses Series, TeeSpline;

procedure TForm1.FormCreate(Sender: TObject);
var Series1, Series2: TLineSeries;
 TeeFunction1: TSmoothingFunction;
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);

 TeeFunction1:= TSmoothingFunction.Create(self);
 Series2:=Chart1.AddSeries(TLineSeries.Create(self)) as TLineSeries;
 Series2.SetFunction(TeeFunction1);
 Series2.DataSource:=Series1;
end;
Forum topic:
http://www.teechart.net/support/viewtopic.php?f=3&t=11098&p=46847#p46847 [created:2010-05-12T18:14:24.000+01:00 reported by:yeray@steema.com reported in version:9.0 (TeeChart VCL)]