WPF TChart with rotation. Exception after double-click.

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
neurosoft
Newbie
Newbie
Posts: 14
Joined: Wed May 14, 2014 12:00 am

WPF TChart with rotation. Exception after double-click.

Post by neurosoft » Wed May 21, 2014 9:07 am

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)
...

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

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

Post by Christopher » Wed May 21, 2014 12:46 pm

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?
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

neurosoft
Newbie
Newbie
Posts: 14
Joined: Wed May 14, 2014 12:00 am

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

Post by neurosoft » Thu May 22, 2014 6:24 am

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.

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

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

Post by Christopher » Thu May 22, 2014 7:43 am

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 :)
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

Post Reply