In a project where the customer must be able to change component properties at runtime I use the DevExpress RTTIInspector.
Normally changing components that are to be displayed there takes no time.
Whenever a TeeChart ist displayed (cxRTTIInspector1.InspectedObject := Chart1) it takes several seconds until the properties are displayed.
This delay is even there when switching back from TeeChart to a Label, for example.
Delphi XE7 32Bit, VCL, TeeChart V2014.12.140923, DevExpress V14.1.5.
The attached sample shows the problems.
I had to remove the exe, it was too big for your server.
Regards
Gerhard Sachs
TeeChart displays extremely slow in cxRTTIInspector
-
- Newbie
- Posts: 10
- Joined: Thu Mar 13, 2014 12:00 am
TeeChart displays extremely slow in cxRTTIInspector
- Attachments
-
- Problem mit DevExpress RTTI Inspector.zip
- Sample project
- (60.13 KiB) Downloaded 590 times
Re: TeeChart displays extremely slow in cxRTTIInspector
Hello Gerhard,
I can't build the project. I get a "Required package 'rbADO1621' not found" error.
Note I'm using the evaluation version here that forces me to set the project to "Link with runtime packages"
I can't build the project. I get a "Required package 'rbADO1621' not found" error.
Note I'm using the evaluation version here that forces me to set the project to "Link with runtime packages"
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 10
- Joined: Thu Mar 13, 2014 12:00 am
Re: TeeChart displays extremely slow in cxRTTIInspector
Hello Yeray,
you can download the exe of the test Project here :
https://app.box.com/s/kf9qwwq51njrtw2dnvi89gjyti4ym97y
Meanwhile I got an answer from Devexpress.
This what they answered :
--------------------------------------------------------------------------------------------------------------------------------------
This issue is likely caused by the fact that TeeChart has much more different published properties than such controls as TcxLabel and TcxProgressBar. Moreover, TeeChart has many levels of expandable properties. No wonder it takes more time to get and group all of them.
--------------------------------------------------------------------------------------------------------------------------------------
I use TeeChart not directly, but by creating a derived class.
Do you know if it is possible to reduce the number of published properties of a base class in a derived class ?
Actually I need just a few fublished properties, the rest of the word is done vía ChartEditor.
you can download the exe of the test Project here :
https://app.box.com/s/kf9qwwq51njrtw2dnvi89gjyti4ym97y
Meanwhile I got an answer from Devexpress.
This what they answered :
--------------------------------------------------------------------------------------------------------------------------------------
This issue is likely caused by the fact that TeeChart has much more different published properties than such controls as TcxLabel and TcxProgressBar. Moreover, TeeChart has many levels of expandable properties. No wonder it takes more time to get and group all of them.
--------------------------------------------------------------------------------------------------------------------------------------
I use TeeChart not directly, but by creating a derived class.
Do you know if it is possible to reduce the number of published properties of a base class in a derived class ?
Actually I need just a few fublished properties, the rest of the word is done vía ChartEditor.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: TeeChart displays extremely slow in cxRTTIInspector
Hello Gerhard,
Thanks for your feedback.
The editors could be optimized to "lazy load" properties when the user expands a node in the inspector instead of loading all properties at the beginning.
A non TeeChart related test would be a form inspector with lots of controls (tabs, frames inside tabs, etc.). It would also be slow due to the accumulation of properties.
Thanks for your feedback.
No published properties can be eliminated. Otherwise they wouldn't be serialized in the .dfm.gerhardsachs wrote: Do you know if it is possible to reduce the number of published properties of a base class in a derived class ?
The editors could be optimized to "lazy load" properties when the user expands a node in the inspector instead of loading all properties at the beginning.
A non TeeChart related test would be a form inspector with lots of controls (tabs, frames inside tabs, etc.). It would also be slow due to the accumulation of properties.
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: 10
- Joined: Thu Mar 13, 2014 12:00 am
Re: TeeChart displays extremely slow in cxRTTIInspector
Hello Narcis,
the DevExpress RTTIInspector has a filter event where properties can be excluded from loading.
They told me that this would indeed speedup the loading process.
In general, only a few properties needs to be accessable by the user.
This is especially true at TeeChart, where most settings will be made via the charteditor.
I know which way to go now and you can close this case.
Best regards
Gerhard Sachs
the DevExpress RTTIInspector has a filter event where properties can be excluded from loading.
They told me that this would indeed speedup the loading process.
In general, only a few properties needs to be accessable by the user.
This is especially true at TeeChart, where most settings will be made via the charteditor.
I know which way to go now and you can close this case.
Best regards
Gerhard Sachs
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: TeeChart displays extremely slow in cxRTTIInspector
Hi Gerhard,
Excellent, thanks for your feedback.
Excellent, thanks for your feedback.
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 |