Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1865
xamDataChart - display series values on mouse move
posted

I am referring to the example provided in FeatureBrowser to display Chart Co-ordinates. I have 3 spline series and date as x-axis. Instead of the exact coordinates, I want to display the corresponding 3 series values at the corresponding date.

For example:

Date: 1/1/2013

Price: 123.45

Quantity: 500

MarketVal: 231,000

 

Basically, how do I get the value of each series at the selected date?

 

Thanks.

 

Parents
  • 1865
    Offline posted

    Hi - Still waiting on an answer to this question. Anyone?

    Basically, when the cross-hair is on a particular X-Axis Date, I want to know the corresponding series values. I know how to get the Y-Coordinate.

     

    So, I have:

    DateTime xDate = new DateTime((long)unscaledX);

     

    Now, I need something like... decimal price = priceSeries.GetValue(xDate);

     

    Pls help - Thanks.

Reply Children
No Data