TPieSeries.ExplodeBiggest = High CPU

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Fab2022
Newbie
Newbie
Posts: 1
Joined: Mon Jun 28, 2021 12:00 am

TPieSeries.ExplodeBiggest = High CPU

Post by Fab2022 » Tue May 03, 2022 3:17 pm

Hello,

Tested on Teechart Pro v2021.32.210430 32 bits with Delphi 10.3

There is an old bug (reproduced in old version) when in a TPieSeries, which contain a certain number of records, if you set ExplodeBiggest for example :
ExplodeBiggest = 20
=> This take a lot of CPU to display/redraw Teechart

Easy to reproduce full sample in attachment.
Attachments
HighCPUExplodeBiggest.zip
(30.15 KiB) Downloaded 383 times

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

Re: TPieSeries.ExplodeBiggest = High CPU

Post by Yeray » Wed May 18, 2022 5:17 pm

Hello,

Sorry for the delayed reply here.
The problem seems to be on the shadow drawing.
Could you please confirm if hiding it solves the problem for you?

Code: Select all

Series1.Shadow.Visible:=False;
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