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
110
Add control to xamDataChart
posted

Is there a way to easily add a control just outside the grid but inside the scroll bars?  I'm trying to add a input box that would allow the user to change the min/maxes of each of the axis.  Thank you.

 

  • 30692
    Suggested Answer
    Offline posted

    Putting something inbetween those would be tricky, but what you could do is hide the charts zoombars and position some XamZoombars elsewhere in your layout, and then syncronize them with the chart's WindowRect property. You can find out when the WindowRect has changed by listening to WindowRectChanged on the chart, and when the scale or position changes on the zoombars you can update WindowRect with the appropriate values.

    There is information in the documentation and on this forum about WindowRect and XamZoombar, but let me know if you have any questions about them.

    Hope this helps!

    -Graham