store information per org item

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Nati
Newbie
Newbie
Posts: 37
Joined: Mon Jun 29, 2009 12:00 am

store information per org item

Post by Nati » Sun Jul 05, 2009 7:50 am

hi

i want to store an integer information per OrgItem. i noticed that i dont have any way to do it, even property Tag does no exists, any suggestions what can be done?

notice that i need this information to be stored per sessions so when i save and re-load the map, i will still have access to this information.
in other words: is it possible to ask of you to add Tag property?

thanks

Nati
Newbie
Newbie
Posts: 37
Joined: Mon Jun 29, 2009 12:00 am

Re: store information per org item

Post by Nati » Sun Jul 05, 2009 7:55 am

ofcourse i'll be happy to know what can be done until this property is added

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

Re: store information per org item

Post by Yeray » Mon Jul 06, 2009 8:07 am

Hi Nati,

I'm not sure on the sense of having a property like that for all Organizationsl series. I mean, I understand that you need to store extra information in your specific application but I don't see the need of having this extra property. Maybe you could explain it better.

On the other hand, you always can store information using arrays. For example you could have an array of integers that could have as items as values in your series, and use it to store your information.
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

Nati
Newbie
Newbie
Posts: 37
Joined: Mon Jun 29, 2009 12:00 am

Re: store information per org item

Post by Nati » Mon Jul 06, 2009 9:13 am

currently i do use a TStringlist with names/values to do exactly that, but:
1) its not nice/clean
2) i have another object to maintain which is not necessary ideally.
3) in order to save things between sessions im saving information in a DB, so i need to save the TStringList info as well
4) i need to make sure there is a correlation between 2 objects that has no direct relation between them.
5) every object contains a Tag property, i believe there is a reason for that :) i dont think that adding this property is an exaggerated request :) ofcourse the content of this property should be stored/restored accordingly

thanks

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

Re: store information per org item

Post by Yeray » Mon Jul 06, 2009 10:22 am

Hi Nati,

Ok, I've added it to the wish list to be considered for inclusion in future releases (TV52014275). But, as here, let me recommend you to use TeeTree to do this kind of charts.
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