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


I have two questions.

I want text annotation witch is selectable but user can not move it. All User can do is delete.
Are there any good idea?

How to catch the mouse over event of the AnnotationViewModel to be binded?

Thank you.

  • Andrew Burnett-Thompson
    Hi Yukata, it’s actually very hard to do this with the current API, but easy with a small code change. I will investigate and see what we can do.
  • Andrew Burnett-Thompson
    First question is answered. Second question is a bit more work. I have spent half a day adding the ResizeDirections.None property for you. Would you consider to hire us for feature sponsorship for events in Viewmodels? We would like to hear from you about your requirements and how we can best adjust the API to suit your needs. Best regards, Andrew
  • You must to post comments

Hi Yukata,

In order to implement this I’ve had to add a new feature to AnnotationBase. We already have AnnotationBase.ResizeDirections and AnnotationBase.DragDirections property, but this accepted values of X, Y or XY. I have added a new value: None.

Tomorrow, get the nightly build for v5.4.1 and try this:

<s:LineAnnotation IsEditable="True" DragDirections="None" ResizeDirections="None"/> 

For the second question, routing mouse events from annotations to AnnotationViewModels, also very difficult with the current API. I will see what can be done about this.

Best regards,

  • You must to post comments

Hi Andrew.

Thank you for you answer.

Thank you. I’ll try v5.4.1.

okay, I’ll consider another way.

Best regards.

  • Andrew Burnett-Thompson
    Just an FYI, you will need v5.4.1.12188 or later. This has not been published yet due to a failing test on our nightly build. It will be soon! Best regards, Andrew
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.