Silverlight: Error in FibonacciTool and DrawLine
Posted: Fri Jul 24, 2009 4:43 am
Hi,
I am getting following error while working with FibonacciTool and DrawLine in our silverlight application.
System.StackOverflowException was unhandled
Message: An unhandled exception of type 'System.StackOverflowException' occurred in Unknown Module.
Code: Drawline
this.drawLine1 = new Steema.TeeChart.Silverlight.Tools.DrawLine();
this.drawLine1.Active = true;
this.drawLine1.EnableDraw = true;
this.drawLine1.EnableSelect = true;
this.DemoChart.Tools.Add(this.drawLine1);
this.drawLine1.NewLine += new Steema.TeeChart.Silverlight.Tools.DrawLineEventHandler(this.drawLine1_NewLine);
this.drawLine1.Select += new Steema.TeeChart.Silverlight.Tools.DrawLineEventHandler(this.drawLine1_Select);
Code: FibonacciTool
this.fibonacciTool1 = new Steema.TeeChart.Silverlight.Tools.FibonacciTool();
this.DemoChart.Tools.Add(this.fibonacciTool1);
fibonacciTool1.StartX = line.XValues[0];
fibonacciTool1.StartY = line.YValues[0];
fibonacciTool1.EndX = line.XValues[3];
fibonacciTool1.EndY = line.YValues[3];
Please suggest solution on the above error.
Thanks & Regards,
Kapil Pardeshi
I am getting following error while working with FibonacciTool and DrawLine in our silverlight application.
System.StackOverflowException was unhandled
Message: An unhandled exception of type 'System.StackOverflowException' occurred in Unknown Module.
Code: Drawline
this.drawLine1 = new Steema.TeeChart.Silverlight.Tools.DrawLine();
this.drawLine1.Active = true;
this.drawLine1.EnableDraw = true;
this.drawLine1.EnableSelect = true;
this.DemoChart.Tools.Add(this.drawLine1);
this.drawLine1.NewLine += new Steema.TeeChart.Silverlight.Tools.DrawLineEventHandler(this.drawLine1_NewLine);
this.drawLine1.Select += new Steema.TeeChart.Silverlight.Tools.DrawLineEventHandler(this.drawLine1_Select);
Code: FibonacciTool
this.fibonacciTool1 = new Steema.TeeChart.Silverlight.Tools.FibonacciTool();
this.DemoChart.Tools.Add(this.fibonacciTool1);
fibonacciTool1.StartX = line.XValues[0];
fibonacciTool1.StartY = line.YValues[0];
fibonacciTool1.EndX = line.XValues[3];
fibonacciTool1.EndY = line.YValues[3];
Please suggest solution on the above error.
Thanks & Regards,
Kapil Pardeshi