Hi all!
I have a problem with using CalcClickedPie function. It returns me a wrong Pie slice for 3D Pie Series.
Do you have a fast fix for that?
Thanks a lot
Bug in TPieSeries.CalcClickedPie v7.05
-
- Newbie
- Posts: 3
- Joined: Thu Jul 07, 2005 4:00 am
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Aleksey,
It works fine here using v7.06, which is the latest version available and contains several bug fixes on that aspect, and the code below. Which TeeChart version are you using? If you use v7.06 please send us some code or an example we can run "as-is" to reproduce the problem here.
You can post your files at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup.
It works fine here using v7.06, which is the latest version available and contains several bug fixes on that aspect, and the code below. Which TeeChart version are you using? If you use v7.06 please send us some code or an example we can run "as-is" to reproduce the problem here.
You can post your files at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup.
Code: Select all
procedure TForm1.FormCreate(Sender: TObject);
begin
Series1.FillSampleValues();
// Series1.Circled:=true;
end;
procedure TForm1.Series1Click(Sender: TChartSeries; ValueIndex: Integer;
Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
begin
Chart1.Title.Text[0]:=IntToStr(Series1.CalcClickedPie(X,Y));
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 |
-
- Newbie
- Posts: 3
- Joined: Thu Jul 07, 2005 4:00 am
Hi Narcís
I use v 7.5. Sorry I didn't describe my problem well. I'll try again. It works OK, but when you use a 3D pie and click on points near his mostly left or right bound the function doesn't work right. It seems that when you move mouse away from the pie center to the left (right), in some point it stops work. Try it in your code.
Best Regards
Quest Software GUI developer
Aleksey Timonin
I use v 7.5. Sorry I didn't describe my problem well. I'll try again. It works OK, but when you use a 3D pie and click on points near his mostly left or right bound the function doesn't work right. It seems that when you move mouse away from the pie center to the left (right), in some point it stops work. Try it in your code.
Best Regards
Quest Software GUI developer
Aleksey Timonin
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Aleksey,
Yes, we are aware of those problems and they were fixed in v7.06. Can you please test if this version works at your end?
Yes, we are aware of those problems and they were fixed in v7.06. Can you please test if this version works at your 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 |