Page 1 of 1
Showing Symbols on 3D plot surface points (Instead of marks)
Posted: Wed Nov 05, 2008 6:43 am
by 14047415
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
Posted: Wed Nov 05, 2008 10:49 am
by narcis
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!
Posted: Fri Nov 07, 2008 10:03 am
by narcis
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.