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
100
Datachart GetPonts from Crosshair
posted

Hallo,

i have a datachart with x-y Data, a legend etc..
Now I want to get an x,y-value according to the datachart, if i click somewhere in the x-y-range.

Using 'PointToClient' and 'PointToScreen'  I have the problem, not to know the real size of the chart - without the axis- and legend areas.

Any help appreciated
Torsten 

Parents
  • 48586
    posted

    Hello,

     

    Could you please specify the exact type of the chart you are using UltraChart or UltraDataChart. If we talk about UltraDataChart, numeric axis has a method GetUnscaledValue(…) which could be used in order to get corresponding axis value based on a screen coordinates.

     

    Please let me know if you have any further questions

Reply Children