I run Delphi 2006 and Teechart Pro 7.08
In our application the user can change the OtherSlice value at runtime. This has not been a problem before but after our upgrade to teechart 7.08 and Delphi 2006 this does not work properly anymore.
After the otherslice value is changed, the chart doesnt repaint itself correctly and gets an empty slice. The other slice doesnt get any bigger.
I have tried pieSeries.repaint; but no effect.
Is this fixed en any later version of TeeChart? Or can I fix this myself somehow?
Thanks in advance
Patrik
Problem with changing TPieSeries.OtherSlice at runtime
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Patrik,
This seems to be a bug and I can't think of a workaround at the moment. I've added the issue (TV52012571) to our defect list to be fixed for future releases.
This seems to be a bug and I can't think of a workaround at the moment. I've added the issue (TV52012571) to our defect list to be fixed for future releases.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Patrik,
The code below works fine for us here using our current sources. Could you please test it at your end?
Thanks in advance!
The code below works fine for us here using our current sources. Could you please test it at your end?
Code: Select all
procedure TForm1.Button1Click(Sender: TObject);
begin
Series1.OtherSlice.Value:=6;
end;
procedure TForm1.FormCreate(Sender: TObject);
begin
Series1.Clear;
Series1.AddPie(5,'slice 1');
Series1.AddPie(7,'slice 2');
Series1.AddPie(9,'slice 3');
Series1.AddPie(1,'slice 4');
Series1.AddPie(2,'slice 5');
Series1.OtherSlice.Style:=poBelowValue;
Series1.OtherSlice.Value:=4;
end;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Patrik,
I've checked this is a a bug in TeeChart Pro v7 VCL. However, it is solved in current version which is TeeChart Pro v8 VCL.
You may also be interested in knowing that latest v7 release available at the client download area is v7.12.
I've checked this is a a bug in TeeChart Pro v7 VCL. However, it is solved in current version which is TeeChart Pro v8 VCL.
You may also be interested in knowing that latest v7 release available at the client download area is v7.12.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |