MusiMeli Posted December 17, 2007 Report Share Posted December 17, 2007 Hello! I'd like to mark some certain points (in a printout) with an according text. This could be achieved by setting the Text of these points and set PointLabels.Visible = true for them. Problem is: The points may be very close so that the labels would overlap. Okay, you can set PointLabel.Offset. But then the label is somewhere in the chart and you can't see to which point it belongs. Is it possible to print an arrow or a line from the edge of the Pointlabel to the point? (See screenshot!) Another possibility would be CustomGridlines at the X-xis. But the text of the gridline is always vertical. Is it possible to set them horizontal like in the Screenshot? MusiMeli Quote Link to comment Share on other sites More sharing options...
maximop Posted December 17, 2007 Report Share Posted December 17, 2007 To show a horizontal text using a CustomGridLine, you will need to add the CustomGridLine to the y-axis. Additionally, you can easily use the Annotation Extension which allow you to add arrow, text, circles, etc. to a chart. You can do the following: Annotations annots = new Annotations(); chart1.Extensions.Add(annots); AnnotationArrow arrow = new AnnotationArrow(); arrow.Height = 20; arrow.Width = 20; arrow.Attach(1, 5);arrow.Visible = true; annots.List.Add(arrow); 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.