Hi,
I've recently upgraded from version 17.3.0.34 to 17.4.0.41 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)
Thank you for your help