Forum Discussion

sunrays123's avatar
sunrays123
Occasional Contributor
6 years ago

Unable to get coordinates of Winform object graph

I am working on automating a desktop application which includes a graph with different coordinates. 

 

When I object spy on the graph it is displaying as it is axgraph and I was not able to spy the coordinates of the graph. Even though not able to get cuves>points field.

 

Could anyone please help me out and tell how to get the coordinates of the graph?

 

NOTE: Graph screenshot attached and object spy screenshot

4 Replies

  • shankar_r's avatar
    shankar_r
    Community Hero

    Screenshot shows me the properties of *.WinFormsObject("axGraph").Curves , share some screenshot of  *.WinFormsObject("axGraph").  

  • sunrays123's avatar
    sunrays123
    Occasional Contributor

    I have attached the full screenshot of WinFormsObject("axGraph").  

    • shankar_r's avatar
      shankar_r
      Community Hero

      I think, you already have it in your properties for hole chart object.

       

      If you want to graph the exact coordinates of each point in your object then you have to find internal properties of that Chart. You may want to take with developers to get details of that. 

       

       

  • sunrays123's avatar
    sunrays123
    Occasional Contributor

    I even tried to get coordinates of the curve points, but those points are not available inside XAxis and YAxis elements. It has coordinate of tick points that are present on X-axis and Y-axis.