I read this article.
If I set to XAML, It's works.
But, I want to know how to set code behind Binding property. (Because, chart is making dynamic numbers)
I try to like below. But It doesn't work.
Please check and help me.
RadCartesianChart chart = new RadCartesianChart();
RadCartesianChart chart1 = new RadCartesianChart();
chart.Name = "chart";Binding bds = new Binding();
bds.ElementName = "chart";
bds.Mode = BindingMode.TwoWay;
bds.Path = new PropertyPath("VerticalZoomRangeStart");
Binding bde = new Binding();
bde.ElementName = "chart";
bde.Mode = BindingMode.TwoWay;
bde.Path = new PropertyPath("VerticalZoomRangeEnd");
BindingOperations.SetBinding(chart1, RadCartesianChart.VerticalZoomRangeStartProperty, bds);
BindingOperations.SetBinding(chart1, RadCartesianChart.VerticalZoomRangeEndProperty, bde);