Showing Symbols on 3D plot surface points (Instead of marks)

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
drillright40
Newbie
Newbie
Posts: 57
Joined: Mon Nov 19, 2007 12:00 am

Showing Symbols on 3D plot surface points (Instead of marks)

Post by drillright40 » Wed Nov 05, 2008 6:43 am

Hi,

I am using Surface class for plotting the 3D Plot.
I want to display different type of symbols at some points in the plot. Currently I show Marks on these points.

e.g.-
I have uploaded an image.
Different types of images (e.g. Diamond, star, circle, rectangle, filled circle etc) need to be displayed on the plot (Region which are shown circled in the image)

How can I achieve this using Surface class?
Please Help.
Thanks in Advance

Regards,
Sanyog

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Nov 05, 2008 10:49 am

Hi Sanyog,

I can think of 3 options here:

1. Use series marks symbols. At the chart editor go to Series->Marks->Symbol. And there you can set the Pattern you wish. Also, if you don't want any text being displayed in the marks you can hide it setting mark text to an empty string in the GetMarkText event.

2. Do something as in the custom marks example here but instead of drawing marks you could draw your own symbols.

3. Create your own custom surface series inheriting from Surface which plots custom marks. A custom series example can be found here:

http://www.teechart.net/support/viewtopic.php?t=4110

Hope this helps!
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Nov 07, 2008 10:03 am

Hi Sanyog,

For thread consistency I'll reply hear to this post:

http://www.teechart.net/support/viewtopic.php?t=8683
I tried using Series->Marks->Symbol->pattern for symbols instead of Marks.(Reply for mail - Wed Nov 05, 2008 6:43 am Post subject: Showing Symbols on 3D plot surface points (Instead of marks) - Option1)

But, here i get all types of patterns and HatchStyles.But i need styles as is given for Line Class
For Line class there are different styles like-
1.Line.Pointer.Style = PointerStyles.Circle

same way there are other symbols for Line Class as Cross,Diamond,DiagCross,Diamond,DownTriangle,Hexagon,LeftTriangle,Nothing,PolishedSphere,Rectangle,RightTriangle,SmallDot,Sphere,Star,Triangle etc.
I want this symbols with different Colors and Size, instead of Marks using Surface class.
I'm afraid this is not possible for now. I'll add your request to the wish-list to be considered for inclusion in future releases.

BTW: Mentioned is not using Surface class, it uses Steema.TeeChart.Drawing.ChartBrush class.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply