Page 1 of 1

WPF TChart with rotation. Exception after double-click.

Posted: Wed May 21, 2014 9:07 am
by 15669262
Hello steema!
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)
...

Re: WPF TChart with rotation. Exception after double-click.

Posted: Wed May 21, 2014 12:46 pm
by Christopher
Hello!
neurosoft wrote:Hello steema!
I have following exception when I do double-click on TChart with Rotate Tool:
I'm afraid I can't reproduce this problem with the latest, publicly available version of TeeChart.WPF. Could you please tell me which version you're using?

Re: WPF TChart with rotation. Exception after double-click.

Posted: Thu May 22, 2014 6:24 am
by 15669262
I'm using TChart v4.1.2013.7302.
I've tried to reproduce the bug in the latest version. And it works fine.
Excuse me for the worry.

Re: WPF TChart with rotation. Exception after double-click.

Posted: Thu May 22, 2014 7:43 am
by Christopher
neurosoft wrote:I'm using TChart v4.1.2013.7302.
I've tried to reproduce the bug in the latest version. And it works fine.
Excuse me for the worry.
No problem :)