How To…Display the TeeChart Editor in Tree Mode


“Is it possible to display the TeeChart editor in tree mode inside the report designer?”


Yes, this can be done by calling the TeeChart routine TeeSaveBoolOption inside the TeeEditCha unit.  Calling this routine with the TeeMsg_TreeMode key and a true value will globally set the editor to tree mode inside and out of the report designer.


Sample Delphi code: