Pre loader

showing cursor data on text annotation

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

0
0

hi, I wanted to display the cursor information (x, y value)on the text annotation like the following. I can only find the example of displaying as tooltip, but is it possible to show with the text annotation? Thank you!

Version
2.0.0
Images
  • You must to post comments
0
0

Hi there,

Unfortunately we don’t support such behavior out of the box but you can implement it on your own.

For example you can extend TextAnnotation class and add some logic which sets text for annotation based on its position into update() override. Also you can create a custom modifier which will place TextAnnotation on chart and will set text for it. If you need to display some information based on touch interactions with chart then you can use our HitProvider API to get information about renderable series (X, Y, series color etc) . You can take a look on our example if you need more information about hit test

Is this suitable for you?

Best regards,
Yura

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies