我一直在为 Mono/Android 评估 TeeChart,但每次我尝试运行示例项目时,我的模拟器都会抛出异常:
System.FormatException: String was not recognized as a valid DateTime.
at System.DateTime.Parse (string,System.IFormatProvider,System.Globalization.DateTimeStyles) [0x00027] in /Users /builder/data/lanes/monodroid-mac-4.2-series/804357b4/source/mono/mcs/class/corlib/System/DateTime.cs:830
at System.DateTime.Parse (string,System.IFormatProvider) [0x00000] in /Users/builder/data/lanes/monodroid-mac-4.2-series/804357b4/source/mono/mcs/class/corlib/System/DateTime.cs:818
at System.DateTime.Parse (string) [0x00000] in /Users/builder/data/lanes/monodroid-mac-4.2-series/804357b4/source/mono/mcs/class/corlib/System/DateTime.cs:813
at Steema.TeeChart.Chart.BetaNotExpired () <IL 0x0000c, 0x000cf>
at Steema.TeeChart.Chart.InternalDraw (Android.Graphics.Canvas) <IL 0x00001, 0x0004b>
at Steema.TeeChart.TChart.Draw (Android.Graphics.Canvas,System.Drawing.Rectangle) <IL 0x000c4, 0x004ef>
at Steema.TeeChart.TChart.Draw (Android.Graphics.Canvas) <IL 0x00007, 0x00097>
at Steema.TeeChart.TChart.OnDraw (Android.Graphics.Canvas) <IL 0x00055, 0x001a3>
at Android.Views.View.n_OnDraw_Landroid_graphics_Canvas_ (intptr,intptr,intptr) [0x00010] in /Users/builder/data/lanes/monodroid-mac-4.2-series/804357b4/source/monodroid/src/Mono.Android/platforms/android-12/src/generated/Android.Views.View.cs:9297
at (wrapper dynamic-method) object.69af4743-db01-4501-8f13-77deb4a4e86e (intptr,intptr,intptr) <IL 0x00012, 0x00033>
根据堆栈跟踪,我猜它与 BetaNotExpired 以及可能的查找值有关,但我今天刚刚请求并收到了评估版本。有谁知道如何让 TeeChart 工作?