Zooming and Scrolling

Thread is closed for posting
2 posts, 0 answers
  1. Walter Haas
    Walter Haas avatar
    1 posts
    Member since:
    Nov 2008

    Posted 18 Jan 2009 Link to this post

    Hi guys,

    Disclaimer: I'm new to the Telerik forums but I have done my due dilligence and gone through the RadChart tutorials and Help files. Still this seems like something obvious so I appologise if I just haven't seen the setting.

    My question is how do I get Scrolling and Zooming working on WinForms RadChart like it does on the ASP.NET AJAX RadChart (http://www.telerik.com/help/aspnet-ajax/featureszoomscroll.html)

    From reading the forums it appears that this is not possible specifically the threads:

    If it is not possible then is there some code I can use to get this working? I would like to display a semi transparent region between the user's mouse down and current mouse position. Then after the mouse up event I would like the graph to be zoomed to the selected region.

    I tried implementing this but ran into the following problems:

    1. OnMouseDown = I couldn't figure out how to translate the current mouse (X,Y) position into the current point on the PlotArea (i.e. you clicked on X Axis = 50, Y Axis = 1000).
    2. I could not figure out how to draw a transparent (dynamically resized) rectangle over the top of my graph elements. I looked at using CustomFigures but couldn't figure out how to dynamically change the points.

    Any help would be greatly appreciated.
  2. Dwight
    Dwight avatar
    475 posts

    Posted 19 Jan 2009 Link to this post

    Hello Walter,

    I confirm that Zooming and scrolling is currently not available in RadChart for WinForms. There is, however, a KB article demonstrating a way to implement such behavior on your own. Please, take a look at

    You can find more information and resources at http://www.telerik.com/products/winforms/resources.aspx

    Should you have further questions, do not hesitate to write us back.

    Best regards,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top