Jump to content
Software FX Community

Mark certain points


MusiMeli

Recommended Posts

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 

 

 

Link to comment
Share on other sites

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);

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...