I would like to use tchart from several units from popupmenu and actions handler.
Shall I use one tchart component in each form or only one that can be common used in for instance centalized mychart.pas
Design issue: use one tchart component or several?
-
- Newbie
- Posts: 14
- Joined: Mon Feb 27, 2023 12:00 am
Re: Design issue: use one tchart component or several?
Hello,
That's an interesting design decision for your application that can be considered for any component, not just specifically for TeeChart.
I'd say it's more elegant and consistent (and less error prone) to reuse a classes/components, but you will probably want to also consider the cost (time investment) vs benefit relation of such implementation.
You can find deeper analyses around about the alternatives you have.
That's an interesting design decision for your application that can be considered for any component, not just specifically for TeeChart.
I'd say it's more elegant and consistent (and less error prone) to reuse a classes/components, but you will probably want to also consider the cost (time investment) vs benefit relation of such implementation.
You can find deeper analyses around about the alternatives you have.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |