Steema.TeeChart.NET.Xamarin.Forms crashes in Xamarin.Forms

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
18286055
Newbie
Newbie
Posts: 20
Joined: Mon Apr 08, 2019 12:00 am

Steema.TeeChart.NET.Xamarin.Forms crashes in Xamarin.Forms

Post by 18286055 » Mon Oct 07, 2019 9:54 pm

Steema.TeeChart.NET.Xamarin.Forms crashes in Xamarin.Forms when version 4.2019.7.3 or later is installed. However, the latest version is required to fix other bugs noted in https://www.steema.com/support/viewtopi ... =4&t=17188

See the demo repository for details (the last comment has the zip file, as the 2MB zip file is too large for Steema apparently...):
https://developercommunity.visualstudio ... ial-2.html
or the direct download:
https://developercommunity.visualstudio ... 3-test.zip

Using Visual Studio 2019, version 16.3.2 on windows 10 v1903, Steps to reproduce:

1) edit NuGet for solution
2) install any stable version of Steema.TeeChart.NET.Xamarin.Forms to all projects
3) clean
4) rebuild
5) run (deploy to device or simulator)

The app will crash at startup with 4.2019.7.3 or later when running on android. iOS doesn't crash at startup but it's unknown if any other issues exist for iOS 13.

See attached screenshot for all installed libraries and screenshots:
crash data.zip
(238.33 KiB) Downloaded 18 times

And finally the exceptions that are shown:
System.MissingFieldException: Message=Field not found: int .Id.main_scrollview Due to: Could not find field in class
System.TypeInitializationException: Message=The type initializer for 'Attribute' threw an exception.
System.TypeInitializationException: Message=The type initializer for 'Attribute' threw an exception.

Pep
Site Admin
Site Admin
Posts: 3169
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Re: Steema.TeeChart.NET.Xamarin.Forms crashes in Xamarin.Forms

Post by Pep » Wed Oct 09, 2019 1:38 pm

Hello,
I've been able to reproduce the problem here. There was an issue with Xamarin assemblies.
I've just uploaded a new TeeChart for Xamarin.Forms nuget package version that has been compiled with the latest Xamarin.Forms and that fixes the problem.
Could you please check if it's working fine for you ?
You can download it at nuget.

18286055
Newbie
Newbie
Posts: 20
Joined: Mon Apr 08, 2019 12:00 am

Re: Steema.TeeChart.NET.Xamarin.Forms crashes in Xamarin.Forms

Post by 18286055 » Wed Oct 09, 2019 7:11 pm

4.2019.9.10 works as expected in Android. Haven't tested iOS yet.

18286055
Newbie
Newbie
Posts: 20
Joined: Mon Apr 08, 2019 12:00 am

Re: Steema.TeeChart.NET.Xamarin.Forms crashes in Xamarin.Forms

Post by 18286055 » Fri Nov 08, 2019 3:21 pm

It seems in the new version, 4.2019.9.10, that zoom is not functional at all. pan still works but I cannot zoom.

Post Reply