TeeChart is crashing in 3D Mode.

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: TeeChart is crashing in 3D Mode.

Post by Sandra » Wed Dec 07, 2011 10:56 am

Hello vishwa,

Thanks for your information, I test it and I inform you my results asap. On the other hand, can you tell us which O.S are you using? This information can help we try to solve your problem.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

vishwa
Newbie
Newbie
Posts: 33
Joined: Mon Oct 15, 2007 12:00 am

Re: TeeChart is crashing in 3D Mode.

Post by vishwa » Wed Dec 07, 2011 2:22 pm

Hi Sandra,
I am using Windows server(R) 2008 Standard , 32 bit with Service PAck 2. I hope this information will help you to identify/resolve the problem.
Please feel free for any other required information.

Thanks

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: TeeChart is crashing in 3D Mode.

Post by Sandra » Wed Dec 07, 2011 3:24 pm

Hello vishwa,

I have got good news for you. Finally I can reproduce your problem, and now I have try to made a simple project to reproduce it. I inform you, when we arrive a conclusion, I hope Friday.

Thanks a lot for your help,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

vishwa
Newbie
Newbie
Posts: 33
Joined: Mon Oct 15, 2007 12:00 am

Re: TeeChart is crashing in 3D Mode.

Post by vishwa » Mon Dec 12, 2011 5:37 am

Hi Sandra,
Please let me know status of the progress regarding TeeChart Crash issue.

Thanks

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: TeeChart is crashing in 3D Mode.

Post by Sandra » Mon Dec 12, 2011 12:09 pm

Hello vishwa,

Sorry for the delay. I inform that finally I can reproduce your problem in version 3 and version 4 using a simple code and I have added it in bug list report with number [TF02015956]. We will try to fix it for future maintenance releases of TeeChart.Net.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

vishwa
Newbie
Newbie
Posts: 33
Joined: Mon Oct 15, 2007 12:00 am

Re: TeeChart is crashing in 3D Mode.

Post by vishwa » Tue Dec 13, 2011 7:45 am

Hi Sandra,
Please let me know the workaround or any other internal property to know crash has happened so that I can handle it with my own workaround.
Here is what I tried:
While Adding points to surface I keep on checking this property
try
{
Bitmap b = colorGridTChart.Bitmap;
}
if it throws exception; immediatly I change [expand ] the scale limit in catch block so crash was not happening. But it did crash while rotating the TeeChart. For that also I kept this code in TeeChart rotating event to check if crash has happened internally And handled it in catch block in similar wat by expanding scale limit. Since calling this property itself takes time. So rotating of TeeChart became very slow.
So I want to know is there any other lightweight property to check if TeeChart is crashed internally so that I can set workaround without affecting my application performance.

PS: Whenever TeeChart crashes this property also thorws exception but user sees Crash only When we call teeChart.Refresh() method. So before calling Refresh() method I am cheking if crash has occured internally using colorGridTChart.Bitmap property and accordingly change scale limit to avoid that.

Thanks

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: TeeChart is crashing in 3D Mode.

Post by Sandra » Tue Dec 13, 2011 11:48 am

Hello vishwa,

I am afraid I don't have any workaround for your problem,at the moment, so I only can give you the internal code, where the Overflow exception appears for me.

The problem occurs for me in the class CanvasGDIplus.cs in the method public override void Polygon(params PointDouble[] p) concretely in the lines where there is next:

Code: Select all

 if (Pen.Visible && p.Length > 1)
			{
        //CDI TF02014395
        //g.DrawPolygon(Pen.DrawingPen, P); 
        for (int i = 0; i < P.Length - 1; i++)
        {
          g.DrawLine(Pen.DrawingPen, P[i], P[i + 1]);
        }
			}
I hope will helps it and if you have any other problem let me know.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply