timtos Posted June 16, 2009 Report Share Posted June 16, 2009 Hello. I have a pie chart with a truncated label or better said, the label is totally clipped! The problem now is, that the black line pointing to that label is still rendered... - is there a way to deny this? Thanks a lot in advance! Greetings, Tim. Quote Link to comment Share on other sites More sharing options...
RandyJ Posted June 29, 2009 Report Share Posted June 29, 2009 Hi, You can use the Offset property which allows you to customize the point label position by configuring its coordinates. The following code sets the PointLabelOffset to 4 pixels up and 5 pixels to the right: chart1.AllSeries.PointLabels.Offset = new Point(4,5); You can also modify the pointlabel's angle by specifying the angle property. This way you can also avoid collisions. You just need to use a positive number to rotate the labels from lower left to upper right. Use negative degrees to rotate text from upper left to lower right. To set the PointLabels angle for all the series to 45: chart1.AllSeries.PointLabels.Angle = 45; You can also completely hide the pointlabel for a specific point (as in your case): chart1.Points[1,1].PointLabels.Visible = true; Regards, RandyJ Quote Link to comment Share on other sites More sharing options...
Jamu Posted November 2, 2009 Report Share Posted November 2, 2009 Hi Randy, I was not able to find a property called "AllSeries" for Char object. Also PointLabels is a bool property. In which version are you seeing these properties? Quote Link to comment Share on other sites More sharing options...
CarlosAC Posted November 2, 2009 Report Share Posted November 2, 2009 Hi Jamu The porperties AllSeries and PointLabels are related to Chart FX 7. Please check current post is under Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.