SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.


How to change IsEditable behaviour for a annotation ?

Requirement is to allow Editing (Allow resizing box annotation only on X1 or X2 or Y1 or Y2 side).

It must be possible to specify which sides we can resize. (IsEditable on X1 or X2 or (X1 and X2) all combinations ). Because I’m programmatically creating box annotations.

  • You must to post comments
Best Answer

This can be achieved by combining BoxAnnotation and VerticalLineAnnotation explained by Andrew in

  • You must to post comments

Hi Jerome,

We don’t support fixing of just one side or one point of a BoxAnnotation, however, you can try to subscribe to Annotation.SizeChanged and reset the sizes yourself when a user drags.

If that doesn’t work, try to get a DependencyProperty Callback on the properties you want to keep fixed (e.g. X1) and set the old value back when the user tries to change it. You might want to think about putting this in to an attached behaviour to make it neat and tidy.

If you do come up with a working solution, please do post it here so that other users can benefit!

Best regards,

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.