SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & 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.



I’m looking to use the runtime editable lineannotation, I’ve set everything up and I can drag the line around with no problems. But, I couldn’t find a way to constraint the lineannotations’s movement, for example I only want the line annotation to be editable on the Y axis while the X values should be constant. Is there a way to do this? The HorizontalLineAnnotation seems to have this constraint but Horizontal and Vertical Line annotations always starts at zero, which is not what I’m going for.


  • You must to post comments
Best Answer

Hi Kewur,

Thanks for the question. Annotations have the ResizeDirections property, which is used to constraint resize direction to only one coordinate. So if you set it either to XDirection or YDirection, you should get the desired behavior.

Hope it helps,

Best regards,

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.