WPF TChart with rotation. Exception after double-click.
Posted: Wed May 21, 2014 9:07 am
Hello steema!
I have following exception when I do double-click on TChart with Rotate Tool:
I have following exception when I do double-click on TChart with Rotate Tool:
Code: Select all
MyTChart.Series.Add(new Bar());
MyTChart.Tools.Add(new Rotate());
System.ArgumentNullException: Value cannot be null.
Parameter name: adorner
at System.Windows.Documents.AdornerLayer.Remove(Adorner adorner)
at Steema.TeeChart.WPF.Chart.ModifyAdornerLayer(Boolean add, Adorner adorner)
at Steema.TeeChart.WPF.Zoom.SetActive(Boolean value)
at Steema.TeeChart.WPF.Chart.DoMouseUp(MouseEventArgs e, ModifierKeys Shift)
at Steema.TeeChart.WPF.TChart.OnMouseUp(MouseButtonEventArgs e)
...