Page 1 of 1

Arrow head to polar series

Posted: Wed Feb 18, 2009 12:57 pm
by 13051032
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?

Posted: Wed Feb 18, 2009 3:26 pm
by yeray
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.

Posted: Thu Feb 19, 2009 4:14 am
by 13051032
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.

Posted: Thu Feb 19, 2009 10:57 am
by 10050769
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?