I've recently upgraded from version 18.104.22.168 to 22.214.171.124 and started to get this exception when setting DataTable (containing DBNull values) as chart items source. In previous version it worked fine.
Object cannot be cast from DBNull to other types.
at System.DBNull.System.IConvertible.ToDouble(IFormatProvider provider)
at Syncfusion.UI.Xaml.Charts.ChartSeriesBase.GenerateDataTablePoints(String yPaths, IList`1 yLists)
at Syncfusion.UI.Xaml.Charts.ChartSeriesBase.GeneratePoints(String yPaths, IList`1 yValueLists)
at Syncfusion.UI.Xaml.Charts.XyDataSeries.OnDataSourceChanged(IEnumerable oldValue, IEnumerable newValue)
at Syncfusion.UI.Xaml.Charts.ChartSeriesBase.OnDataSourceChanged(DependencyPropertyChangedEventArgs args)
at Syncfusion.UI.Xaml.Charts.ChartSeriesBase.OnDataSourceChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
Please note that we have created this patch for version 126.96.36.199specifically to resolve the following issue reported in this incident. If you have received other patches for the same version for other products, please apply all patches in the order received
The fix will be included in our weekly Nuget release which is expected to be rolled out on 14th January 2020.
Notes: We were unable to reproduce the issue which is reported in the forum F150484, but we included some of the possible fix in this custom patch. Please check with that patch and If you faced same issue after updating with this patch please provide us more information.