Hi all,
This is reposted from another question (http://www.telerik.com/community/forums/wpf/charting-kit/panzoombars-missing-when-chart-built-from-code.aspx) for clarification.
I am having trouble programmatically add/removing the PanAndZoom functionality for ChartView. I have tried several ways of doing it, and the problem essentially boils down to this: the only way to get pan and zoom bar to show up, I have to include it in the XAML file. Furthermore, if I ever decide to set the Pan/Zoom mode to "None" programmatically, the pan and zoom bar is gone forever, even if I set the mode back to "Both".
Is there a work around to allow users to programmatically enable/disable pan and zooming for a given ChartView?
Thanks,
Jin
This is reposted from another question (http://www.telerik.com/community/forums/wpf/charting-kit/panzoombars-missing-when-chart-built-from-code.aspx) for clarification.
I am having trouble programmatically add/removing the PanAndZoom functionality for ChartView. I have tried several ways of doing it, and the problem essentially boils down to this: the only way to get pan and zoom bar to show up, I have to include it in the XAML file. Furthermore, if I ever decide to set the Pan/Zoom mode to "None" programmatically, the pan and zoom bar is gone forever, even if I set the mode back to "Both".
Is there a work around to allow users to programmatically enable/disable pan and zooming for a given ChartView?
Thanks,
Jin