CircularGauge crash fix

TeeChart for Java (NetBeans, Eclipse, Android Studio, etc)
Post Reply
Posts: 44
Joined: Mon Jan 07, 2013 12:00 am

CircularGauge crash fix

Post by znakeeye » Fri Mar 15, 2013 5:27 pm

Recall this issue: ... and-cursor

I believe you already fixed this, but I'll post this anyway :)
I moved the try/finally block inside the visibility check in drawHand() function, That makes sure the call to resetTransform() doesn't crash.

Site Admin
Site Admin
Posts: 8833
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia

Re: CircularGauge crash fix

Post by Yeray » Mon Mar 18, 2013 2:58 pm


The fix we implemented was on (android folder), in the resetTransform() function we now check if restoreCount>0 before restoring the saved canvas:

Code: Select all

	public void resetTransform() {
		if (restoreCount>0)
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply