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 Stackoverflow.com 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.

0
0

Hi Guys,

I am creating and placing my custom annotation on my chart and its all fine.

Just a simple question :

When the annotation is created and placed I can see its anchor point which disappears (hide) when I select (click) on the chart surface.

Is there a way (programmatically) to “unselect” the custom annotation just after it has been placed in order the anchor points disappear ?

Thanks to you all

Kind Regards

Giuseppe

  • You must to post comments
0
0

Hi Giuseppe,

Thanks for your question. Annotations provide 3 properties which control interaction, these are IsEditable, IsSelected and CanEditText.

The IsEditable property, when set to “False”, prohibit any kind of interactions, and an annotation cannot be selected either.

The IsSelected property makes an annotation selected, that is, green anchor points appear and it makes possible to move/resize/edit text on an annotation.

The CanEditText property allows to edit text, if an annotation has inbuilt text labels.

So you should set IsSelected to “False” to deselect an annotation, or IsEditable to “False” to forbid any interaction.

Hope this helps,

Best regards,
Yuriy

  • You must to post comments
0
0

Hi Andrew & Support Guys,

I set the bools on the annotation as you suggested buy I still see the anchor points appear and disappear only when the user changes the focus to the chart tile surface.
I left this issue as it was because I have a three level injection framework in my app . MVVM that calls a control which calls surface generic chart management, quite complex thing. I thought it was due to this tree level management, as in your example solution It was working and to make a myself a test solution it would have taken quite a while with an un certain result.

In fact in the previous version 2.3 the anchor points where white and quite small 2×2 pixels or something like that, for the end user no problems as there where quite difficult to see. remember that they disappear as the user focused the chart surface.

After upgrading to the last SL supported version 3.61 I have noticed now that anchor points have become quite bigger and green colored.

Now they are much more visible ! Is there a way to Style template them , if so I could bring them back to a smaller and transparent look. ?

Adding you a screenshot in order to let you understand what I am experiencing.

Images
  • You must to post comments
0
0

Hi Andrew & Support Guys,

I set the bools on the annotation as you suggested buy I still see the anchor points appear and disappear only when the user changes the focus to the chart tile surface.
I left this issue as it was because I have a three level injection framework in my app . MVVM that calls a control which calls surface generic chart management, quite complex thing. I thought it was due to this tree level management, as in your example solution It was working and to make a myself a test solution it would have taken quite a while with an un certain result.

In fact in the previous version 2.3 the anchor points where white and quite small 2×2 pixels or something like that, for the end user no problems as there where quite difficult to see. remember that they disappear as the user focused the chart surface.

After upgrading to the last SL supported version 3.61 I have noticed now that anchor points have become quite bigger and green colored.

Now they are much more visible ! Is there a way to Style template them , if so I could bring them back to a smaller and transparent look. ?

Adding you a screenshot in order to let you understand what I am experiencing.

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.