Double-click on SubChart error

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

Double-click on SubChart error

Post by neurosoft » Thu May 15, 2014 4:57 am

Hello steema!
I have an InvalidOperationException "Every RoutedEventArgs must have a non-null RoutedEvent associated with it." on double-click on subchart area.
To reproduce it create TChart with SubChartTool

Code: Select all

Bar bar = new Bar();
            bar.Marks.Visible = false;
            bar.Add(5);            
            bar.Add(7);
            MyTChart.Series.Add(bar);

            SubChartTool subChartTool = new SubChartTool();
            MyTChart.Tools.Add(subChartTool);
            TChart subChart = subChartTool.Charts.AddChart(string.Empty);
            subChart.Aspect.View3D = false;            
            subChart.Panel.Color = Colors.Transparent;
            subChart.Walls.Visible = false;
            subChart.Axes.Visible = false;

            Pie subChartPie = new Pie();
            subChartPie.Marks.Visible = false;
            subChartPie.Add(10);
            subChartPie.Add(6);
            subChartPie.Brush.Color = Colors.Red;
            subChart.Series.Add(subChartPie);
and then do a double-click on Pie.

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

Re: Double-click on SubChart error

Post by Christopher » Thu May 15, 2014 3:30 pm

Hello!

This defect has now been fixed, as you can see here.

As a workaround, until the next maintenance release, this workaround can be used.
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