User configurable Line Pointer, Color and Pen

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
petex
Newbie
Newbie
Posts: 4
Joined: Fri May 07, 2004 4:00 am

User configurable Line Pointer, Color and Pen

Post by petex » Tue Apr 05, 2005 3:54 pm

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, :)

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Wed Apr 06, 2005 4:19 pm

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

petex
Newbie
Newbie
Posts: 4
Joined: Fri May 07, 2004 4:00 am

Post by petex » Thu Apr 14, 2005 1:29 pm

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?

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Fri May 13, 2005 10:57 am

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.

Post Reply