Error with drawing TSeriesBandTool

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
BoikovSoft
Newbie
Newbie
Posts: 20
Joined: Thu Mar 26, 2009 12:00 am
Location: Russia, Samara

Error with drawing TSeriesBandTool

Post by BoikovSoft » Mon Apr 20, 2009 8:32 am

I use version 8.04 for Delphi 7.
Error with drawing TSeriesBandTool, when property "Stairs" True.

Code: Select all

procedure TForm1.Bug1Click(Sender: TObject);
Var
  CH :TChart;
  SBT: TSeriesBandTool;
begin
  CH:=TChart.Create(self);
  ch.Parent:=self;
  ch.View3D:=false;
  ch.Legend.Visible:=false;
  ch.AddSeries(THorizLineSeries.Create(ch));
  ch.AddSeries(THorizLineSeries.Create(ch));
  ch.Series[0].FillSampleValues();
  ch.Series[1].FillSampleValues();
  SBT:=TSeriesBandTool.Create(Ch);
  sbt.Series:=ch.Series[0];
  sbt.Series2:=ch.Series[1];
  sbt.Gradient.Visible := True;
  THorizLineSeries(ch.Series[0]).Stairs:=true;  // <- TSeriesBandTool it is drawn without property "Stairs"
  ch.Tools.Add(SBT);
end;
How it can be solved?

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Post by Yeray » Mon Apr 20, 2009 9:52 am

Hi

Yes, this is a known bug already in the wish list (TV52013141). I've incremented the priority to be fixed as soon as possible.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply