Page 1 of 1

One bug in TCCIFunction

Posted: Thu Nov 18, 2004 5:34 pm
by 9339728
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;

Posted: Mon Nov 22, 2004 8:06 am
by Pep
Hi Steven,

it works fine here (using the latest v7.01). Using your code I can edit the Chart and see that the latest 14 points are not the same. To notice the changes in the function line you should change the left axis scales..

Posted: Fri Dec 10, 2004 3:21 pm
by 9339728
I really find this bug , and fix it .