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?
1 Answer, 1 is accepted
0
Martin Ivanov
Telerik team
answered on 06 Dec 2016, 08:54 AM
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.