Arrow head to polar series

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
asupriya
Advanced
Posts: 179
Joined: Mon Dec 01, 2008 12:00 am

Arrow head to polar series

Post by asupriya » Wed Feb 18, 2009 12:57 pm

I have a PolarBar series with two points (0,0) and (Angle1, Value1). I like to represent it as a arrow pointing out from (0,0) with arrow head at the (Angle1, Value1). It currently shows the points as square blocks. How can i put a arrow head to this polarbar series?

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Post by Yeray » Wed Feb 18, 2009 3:26 pm

Hi asupriya,

Here I'm afraid we cannot give you a "perfect" solution. We can suggest you several options but you should choose which is the best for you considering the relation between cost/quality:

1) Set the pointer style as triangle. Some points will look better than the others depending on the orientation:

Code: Select all

polarbar1.Pointer.Visible = true;
polarbar1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.DownTriangle;
2) Create you own pointer style. You could implement a custom pointer style that you would like better than the triangles, but you'll still probably have problems with the orientation.

3) You could use the event OnGetPointerStyle and decide using one pointer style or anotherone depending on the angle of the current point.

The combination of the points 2 and 3 could be a good solution for you. On the other hand, you are always able to draw directly to the canvas.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

asupriya
Advanced
Posts: 179
Joined: Mon Dec 01, 2008 12:00 am

Post by asupriya » Thu Feb 19, 2009 4:14 am

What does the polarBar.Pen.EndCap = Drawing2D.LineCap.ArrowAnchor does? I shows the arrow head in the legend, but i can't see it on the display as the square blocks at the point positions are masking the end style.

IF this feature is not available, Can you add this feature to your feature-request list for future releases? I need to update the polarbar series on a real-time basis and following steps 2 and 3 individually and/or in combination will drag-down my performance.

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Post by Sandra » Thu Feb 19, 2009 10:57 am

Hi asupriya,
What does the polarBar.Pen.EndCap = Drawing2D.LineCap.ArrowAnchor does?
It changes the ending of the series' pen in an arrow shape which may already be what you are looking fo. You'd clearer see what the property does if you hide serie's Pointer:

Code: Select all

        PolarBar1.Pointer.Visible = False
        PolarBar1.Pen.EndCap = Drawing2D.LineCap.ArrowAnchor
        PolarBar1.Pen.Width = 10
Is that what you were looking for?
Best Regards,
Sandra Pazos / 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