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
70
XamWebChart - CrossHair value customization
posted

Hi, 

We follow this to display crosshair values and it works fine for basic cases:

http://help.infragistics.com/Help/NetAdvantage/DV/2011.1/CLR4.0/html/sl_dv_xamWebChart_Crosshair_Graph_Values.html

However, the X-axis may have different data types, such as a Date or text. In this case the value seems to be the chart x-coordinates. How can we plug something in to process the crosshair values before they are displayed?

Basically the value needs to run through a component that transforms it based on scroll and zoom state and coordinates.

Thanks!

Parents
No Data
Reply
  • 30692
    Offline posted

    Hi,

    Sorry for the delay in reply.

    That sample uses a binding. You could implement an IValueConverter in order to perform some transformations on the value and set that up on the binding. Alternatively you could bind that value against some object in your code behind, and watch for changes in that value, perform updates, and propagate the display value to another property, which is the value you actually bind against.

    Let me know if you would like me to elaborate on one of these methods. Hope this helps!

    -Graham

Children
No Data