Pie chart slices to do not update (D2007, TC v7.11 Pro)

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Dan
Newbie
Newbie
Posts: 4
Joined: Tue May 04, 2004 4:00 am
Contact:

Pie chart slices to do not update (D2007, TC v7.11 Pro)

Post by Dan » Tue Feb 19, 2008 5:26 am

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Feb 19, 2008 9:36 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Dan
Newbie
Newbie
Posts: 4
Joined: Tue May 04, 2004 4:00 am
Contact:

Post by Dan » Tue Feb 19, 2008 9:28 pm

Thanks for the prompt reply.

Will there be a patch for version 7.12?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Feb 20, 2008 9:33 am

Hi Dan,

I think it's most unlikely that a new TeeChart v7 release will be published.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

achristouio
Newbie
Newbie
Posts: 21
Joined: Mon Jan 23, 2006 12:00 am

Post by achristouio » Wed Feb 20, 2008 11:04 am

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?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Feb 20, 2008 11:11 am

Hi achristouio,

Yes, I've checked that this works fine using v8.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Dan
Newbie
Newbie
Posts: 4
Joined: Tue May 04, 2004 4:00 am
Contact:

Post by Dan » Thu Feb 21, 2008 12:08 pm

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Feb 22, 2008 11:55 am

Hello Daniel,

We have just posted an update build for Delphi 2007 fixing this issue at the client area.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Dan
Newbie
Newbie
Posts: 4
Joined: Tue May 04, 2004 4:00 am
Contact:

Post by Dan » Fri Feb 29, 2008 2:50 am

Thanks Narcís,

It all works now - I'm grateful to you and the Steema team for fixing this issue,

Regards,
Daniel

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Feb 29, 2008 8:18 am

Hi Daniel,

You're welcome. I'm glad to hear that.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply