Home Forums WinForms controls Xceed Chart for WinForms Need help on zooming and scrolling

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #19167 |

    Hello, guys 🙂

    I’m trying to zoom in a chart, and add a scroll bar at the bottom of the chart so that the user can scroll left and right. However, I can’t find a way to get the current position of the chart, so that I can update the scroll bar and prevent the user from scrolling outside of the boundaries of the chart. All examples I saw in the demo allow unlimited scrolling to the left or right. Any ideas?

    Imported from legacy forums. Posted by Antoan (had 1116 views)

    User (Old forums)
    Member
    Post count: 23064

    Hi,

    A solution to get the axis position is looking for your min and max values in your X axis.

    Hope this help

    Imported from legacy forums. Posted by pablo (had 1255 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.