Page 1 of 1

Random Non-Existent ArgumentNullException given.

Posted: Wed Jul 10, 2019 10:10 pm
by 18286055
Below are the screenshots. Visual Studio 2019 (version 16.16) gives the exception shown, but still proceeds and renders the data without issue. all functionality works. but it gives this error. I've looked through the initVars() code that the Chart() function calls but don't see anything obvious. I don't see anything that could be an obvious cause for ChartView() either.
Also using Steema.TeeChart.NET.Xamarin.Forms version 4.2019.7.3.
Capture1.PNG
Capture1.PNG (30.44 KiB) Viewed 44680 times
Capture.PNG
Capture.PNG (20.57 KiB) Viewed 44680 times

Re: Random Non-Existent ArgumentNullException given.

Posted: Thu Jul 11, 2019 11:48 am
by Pep
Hello,
does this happens on specific platform ?

Re: Random Non-Existent ArgumentNullException given.

Posted: Thu Jul 11, 2019 2:57 pm
by 18286055
Only in Android. iOS doesn't occur.

Re: Random Non-Existent ArgumentNullException given.

Posted: Fri Jul 12, 2019 9:00 am
by Pep
Hello,
ok, we've been able to reproduce the problem here. We're investigating what is the cause. Until we found where the problem is and publish a new maintenance release, please get the previous package version from nuget.

Thanks

Re: Random Non-Existent ArgumentNullException given.

Posted: Fri Jul 12, 2019 11:37 am
by Pep
Hello,
we've just published a new nuget package for the TeeChart for Xamarin.Forms.
Could you please check if this maintenance version fixes the problem?

https://www.nuget.org/packages/Steema.T ... .2019.7.12

Re: Random Non-Existent ArgumentNullException given.

Posted: Fri Jul 12, 2019 2:37 pm
by 18286055
This issue still occurs, unfortunately, on version 4.2019.7.12.

However, the other issue https://www.steema.com/support/viewtopi ... =4&t=17188 has been fixed.

Re: Random Non-Existent ArgumentNullException given.

Posted: Mon Jul 15, 2019 10:32 am
by Pep
Hello,

ok. I need to investigate more about the problem, as it seems that it only happens on specific projects.
Does the following project that you can found at the Steema github it working fine for you ?
https://github.com/Steema/teechart-xama ... RotateTool

It's working fine here.

Re: Random Non-Existent ArgumentNullException given.

Posted: Mon Jul 15, 2019 3:48 pm
by 18286055
It works on android with no issues.

Also, I actually don't want any rotation (just pan and zoom) in the graph; how would I do that?

Re: Random Non-Existent ArgumentNullException given.

Posted: Tue Jul 16, 2019 12:40 pm
by Pep
Hello,
we've just uploaded an example at the github, that does this. You can find it here :
https://github.com/Steema/teechart-xama ... anningDemo

Re: Random Non-Existent ArgumentNullException given.

Posted: Wed Jul 17, 2019 3:08 pm
by 18286055
Not what I'm looking for, unfortunately. What I'm referring to is when you zoom and rotate the touchpoints and the graph flips over the Y-axis. I want to prevent this from occurring.

Re: Random Non-Existent ArgumentNullException given.

Posted: Thu Jul 18, 2019 8:23 am
by Pep
Ok, could you please try by setting the ClipPoints property to true ?

Code: Select all

_chartView.Chart.Aspect.ClipPoints = true;

Re: Random Non-Existent ArgumentNullException given.

Posted: Thu Jul 18, 2019 4:14 pm
by 18286055
That does seem to help. what does that do?

Also, The ArgumentNullException has stopped occurring, but I'm not sure why. it still occurred after the update and now it is not, using 4.2019.7.12.

Re: Random Non-Existent ArgumentNullException given.

Posted: Mon Aug 05, 2019 10:13 am
by Pep
That does seem to help. what does that do?
What it does, is to clip the drawing series points to a region, in this case to the Chart rect region.

Re: Random Non-Existent ArgumentNullException given.

Posted: Thu Oct 10, 2019 4:00 pm
by 18286055
It started giving the exception again on 4.2019.9.10. It doesn't crash but is reported.

Re: Random Non-Existent ArgumentNullException given.

Posted: Fri Oct 11, 2019 9:06 am
by Pep
Hello,
ok, thanks for the advise. We're going to do some tests here again with the latest version in order to find what could be the cause.