Pre loader

X Value in RolloverData.SeriesInfo

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

Hello, suppose I want to make a real-time rollover tooltip that displays not only the y value but also the x value, how do I do it?
I currently have a rollover modifier which gives me the y values in RolloverModifier.RolloverData.SeriesInfo.Value. How do I find out the corresponding value on the X Axis?

I have also attached some images where you can see what I have now and what I want to do..

Images
  • You must to post comments
0
0

Hello Straliciuc,

Please see this post on Showing the X and Y Values in the RolloverModifier.

You can use either SeriesInfo.XValue or SeriesInfo.YValue to receive axes values, but in this case you need to use value converter or StringFormat for these properties are defined as IComparable, which doesn’t provide conversion to string by default.

Best regards,
Yuriy

  • Straliciuc
    Thanks, it worked! I think I wasn't seeing these two properties because I was using an older version of your control. I updated and now it's all ok.
  • 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