One bug in TCCIFunction
Posted: Thu Nov 18, 2004 5:34 pm
I create one chart with two lines , one the TCandleSeries , the other is TLineSeries and it's functin is TCCIFunction and the parents series is TCandleSeries . Set the period of TCCIFunction to 14,others is default. and I do Series1.FillSampleValues(100);I find that the last 14 points of TCCIFunction is almost same,Something wrong on it ?Please help me!
TForm1 = class(TForm)
Chart1: TChart;
BitBtn1: TBitBtn;
Series1: TCandleSeries;
Series2: TLineSeries;
TeeFunction1: TCCIFunction;
procedure BitBtn1Click(Sender: TObject);
......
procedure TForm1.BitBtn1Click(Sender: TObject);
begin
Series1.Clear;
Series1.FillSampleValues(100);
end;
TForm1 = class(TForm)
Chart1: TChart;
BitBtn1: TBitBtn;
Series1: TCandleSeries;
Series2: TLineSeries;
TeeFunction1: TCCIFunction;
procedure BitBtn1Click(Sender: TObject);
......
procedure TForm1.BitBtn1Click(Sender: TObject);
begin
Series1.Clear;
Series1.FillSampleValues(100);
end;