RadChartView auto vertical scale for visible part of chart only

2 posts, 0 answers
  1. Sergey
    Sergey avatar
    11 posts
    Member since:
    Sep 2016

    Posted 02 Dec 2016 Link to this post

    Hi, I try use RadChartView to display finance data with Candle-style series. After setup data, I set horizontal zoom, but vertical zoom remains unchanged (see screenshot). How to make radchartview auto-Y-scale  for visible part of chart?
  2. Martin
    Admin
    Martin avatar
    1200 posts

    Posted 06 Dec 2016 Link to this post

    Hi Sergey,

    The chart doesn't automatically change its zoom in order to fit the plotted data. In order to achieve this you can set up the chart's zoom manually via the the following properties:
    • HorizontalZoomRangeStart
    • HorizontalZoomRangeEnd
    • VerticalZoomRangeStart
    • VerticalZoomRangeEnd
    The properties work in relative units between 0 and 1.

    By default the chart pan and zoom behavior enables only zooming interactions on the horizontal axis. To enable them also for the vertical axis you can set the ZoomMode property of the behavior to Both. You can read more about the pan and zoom behavior in the chart's documentation.

    Regards,
    Martin
    Telerik by Progress
    Telerik UI for WPF is ready for Visual Studio 2017 RC! Learn more.
Back to Top