One bug in TCCIFunction

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
steven zheng
Newbie
Newbie
Posts: 12
Joined: Sun Oct 31, 2004 4:00 am
Location: china

One bug in TCCIFunction

Post by steven zheng » 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;

Pep
Site Admin
Site Admin
Posts: 3305
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Nov 22, 2004 8:06 am

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..

steven zheng
Newbie
Newbie
Posts: 12
Joined: Sun Oct 31, 2004 4:00 am
Location: china

Post by steven zheng » Fri Dec 10, 2004 3:21 pm

I really find this bug , and fix it .

Post Reply