Arrow head to polar series
Arrow head to polar series
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?
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:
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.
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;
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,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
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.
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.
Hi asupriya,
Is that what you were looking for?
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:What does the polarBar.Pen.EndCap = Drawing2D.LineCap.ArrowAnchor does?
Code: Select all
PolarBar1.Pointer.Visible = False
PolarBar1.Pen.EndCap = Drawing2D.LineCap.ArrowAnchor
PolarBar1.Pen.Width = 10
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |