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

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.