Page 1 of 1
Pie chart slices to do not update (D2007, TC v7.11 Pro)
Posted: Tue Feb 19, 2008 5:26 am
by 9232321
The slices of the pie chart do not update in D2007 TC7.11 PRO. The AddPie function works to initially add slices to the chart, but then updates to the values are not reflected except by the chart labels and legend.
This occurs in code and through the chart editor in both run and design times, and on several computers.
Plugging in a bar chart into the same form/code (changing the addpie call to addbar) works fine.
The code was recently migrated from Delphi 7 (TC 7.04 PRO) where it was working and stable for a number of years.
Delphi version - 11.0.2709.7128
Platform - XP SP2
I've tried quite a few tacts to try and work this one out so any help/advice would be greatly appreciated.
Regards,
Daniel
Posted: Tue Feb 19, 2008 9:36 am
by narcis
Hi Daniel,
I could reproduce the issue here using v7.12 and this code:
Code: Select all
procedure TForm1.FormCreate(Sender: TObject);
var i: Integer;
begin
for i:=1 to 5 do
Series1.AddPie(i);
end;
procedure TForm1.Button1Click(Sender: TObject);
begin
Series1.AddPie(random*10);
end;
I've also checked that this code works fine with TeeChart Pro v8 VCL.
Posted: Tue Feb 19, 2008 9:28 pm
by 9232321
Thanks for the prompt reply.
Will there be a patch for version 7.12?
Posted: Wed Feb 20, 2008 9:33 am
by narcis
Hi Dan,
I think it's most unlikely that a new TeeChart v7 release will be published.
Posted: Wed Feb 20, 2008 11:04 am
by 9345067
narcis wrote:Hi Daniel,
I could reproduce the issue here using v7.12 and this code:
Code: Select all
procedure TForm1.FormCreate(Sender: TObject);
var i: Integer;
begin
for i:=1 to 5 do
Series1.AddPie(i);
end;
procedure TForm1.Button1Click(Sender: TObject);
begin
Series1.AddPie(random*10);
end;
I've also checked that this code works fine with TeeChart Pro v8 VCL.
The code works in Delphi 2006, but this did not work:
procedure TForm1.FormCreate(Sender: TObject);
var i: Integer;
begin
for i:=1 to 5 do
begin
Series1.AddPie(i);
update;
end;
end;
procedure TForm1.Button1Click(Sender: TObject);
begin
Series1.AddPie(random*10);
end;
Could it be verified that this code works in v. 8?
Posted: Wed Feb 20, 2008 11:11 am
by narcis
Hi achristouio,
Yes, I've checked that this works fine using v8.
Posted: Thu Feb 21, 2008 12:08 pm
by 9232321
I would expect that an update or patch is released. Steema has released an update that has stopped the pie chart from working entirely. I'm not seeking new functionality (which might warrant an upgrade to the next major release). I'm just expecting that previously working v7 functionality be fixed so that it is working again.
Regards,
Daniel
Posted: Fri Feb 22, 2008 11:55 am
by narcis
Hello Daniel,
We have just posted an update build for Delphi 2007 fixing this issue at the client area.
Posted: Fri Feb 29, 2008 2:50 am
by 9232321
Thanks NarcĂs,
It all works now - I'm grateful to you and the Steema team for fixing this issue,
Regards,
Daniel
Posted: Fri Feb 29, 2008 8:18 am
by narcis
Hi Daniel,
You're welcome. I'm glad to hear that.