Page 1 of 1

TeeEditor question (series types).

Posted: Fri Apr 03, 2009 3:36 pm
by 9530487
Hello all,

I am using TChart in MS Visual Studio (C++).

I want to configure the list of available series that a user can add. When the user clicks on the "Add" button from the TeeEditor dialog, they have the option of "Line", "Bar", "Horiz bar", etc available from the "Gallery". Can I enable/disable these series types? I only want the user to be able to add series that I have pre-defined the code for.

I have explored the CTeeEditorOptions and CTeeEditorShowPages classes, but cannot find out if I can enable/disable series types once the user has clicked on the "Add" button.

Hope this makes sense.

Thanks in advance for any help.

Tony.

Posted: Mon Apr 06, 2009 1:41 pm
by narcis
Hi Tony,

I'm afraid this is not possible for now. I will add your request to the wish-list to be considered for inclusion in future releases. In the meantime you could create your own dialog providing the series you want to let your users add.

Posted: Mon Apr 06, 2009 3:10 pm
by 9530487
Thanks.

The ability to control the gallery at runtime would be really useful to me. I would prefer to keep the gallery as it looks really good, but not all of the series types are applicable to what I allow the user to do.

Tony.