I am using the ChartView control, and would like to be able to change the Zoom from code.
I have tried two things.
1. Set Zoom property directly from code.
i.e. Chart.Zoom = new Size(1,1);
2. Bind to a Zoom property on my view model, and set that property.
i.e. XAML gets
ViewModel.Zoom = new Size(1,1);
Either way, the view is not refreshed correctly. However, on a re-size operation, it becomes OK again.
Is this a known problem, or is there something else I need to do?
Thanks
Craig Littlewood
I have tried two things.
1. Set Zoom property directly from code.
i.e. Chart.Zoom = new Size(1,1);
2. Bind to a Zoom property on my view model, and set that property.
i.e. XAML gets
<telerik:RadCartesianChart Name="Chart" Zoom="{Binding Path=Zoom, Mode=TwoWay}">
ViewModel.Zoom = new Size(1,1);
Either way, the view is not refreshed correctly. However, on a re-size operation, it becomes OK again.
Is this a known problem, or is there something else I need to do?
Thanks
Craig Littlewood