After implementing solution in style of article (http://www.telerik.com/support/kb/winforms/details/integrating-panzoom-trackball-and-lassozoom-controllers-in-radchartview), I have faced with some problems:
1. After using LassoZoom I cannot move in plot area in the vertical direction
2. Changing MyLassoZoomView class (for example changing color of selection rectangle) does not show any effect
Could you help with this problem?
8 Answers, 1 is accepted
Thank you for writing.
The observed approach is a limitation of the public API exposed by the chart control. The desired behavior, however, can be achieved. Regarding the custom zoom view and the selection rectangle back color, you will need to use reflection and get the field of the base view and set it with reflection. Vertical panning seems to be disabled because of ShowPanZoom property which is set to true in the virtual OnMouseUp method in the custom lasso zoom controller. In the MyLassoZoomController class please change the constructor and the OnMouseUp methods this way:
I hope this helps. Let me know if you have other questions.
That solved the problev, thank you for helping
Please make sure that you have added a reference to the Telerik.WinControls.ChartView.dll assembly.
Let me know if you have other questions.
my version is 2015.2
The custom project is also working well on my end using the 2015.2.728 version of the controls. Please check how the attached project will run on your side.