Page 1 of 1

User configurable Line Pointer, Color and Pen

Posted: Tue Apr 05, 2005 3:54 pm
by 8125360
Hi.

I was wondering if there is a straigforward way to enable the configuration of the Line Pointer type, Color and Pen type at run time.

I have seen the use of the Button Color control which enables the selection of the color from a palette; however, I can't find equivalent controls or methods to do the same for the Pointer type and Pen (and other Series characteristics if possible).

Thanks, :)

Posted: Wed Apr 06, 2005 4:19 pm
by Pep
Hi Joel,

you can see one example of this in the Demo Features project under :
All Features -> Welcome ! -> Chart Styles -> Standard -> Line (Strip) -> Line Outline

Posted: Thu Apr 14, 2005 1:29 pm
by 8125360
Thanks Josep,

This will be useful; however, since the time I made my question, I have now been asked to provide a whole array of functions in run time.

I just found out that:

TChart1.showeditor() launches the complete Chart editor; which will obviously cover all of the new requests I have received such as:

- Printing
- Copy/Paste
- Titles
- Legend configuration, etc

However, I would want to restrict the functionality not allowing all the default options in the editor. Is this possible?

Is this the function of ITypeDescriptorContext in:

public Boolean ShowEditor(System.ComponentModel.ITypeDescriptorContext)

If so, where can I find information on how to use ITypeDescriptorContext?

Posted: Fri May 13, 2005 10:57 am
by Pep
Hi Joel,
However, I would want to restrict the functionality not allowing all the default options in the editor. Is this possible?
This feature still not yet available, however will be added for the next TeeChart for Net version v2.