1
Vote

Binding Source property throwing error inside ModernChart library

description

If I bind Series property with ObservableCollection<ChartSeries> It is throwing null reference error on initialization in UpdateDataContextOfSeries() method inside ChartBase.cs. It is trying to call this method before the MVVM calls the getter of the binded property, the Series is coming out null and hence the error. Just checking if series is null before running the loop on series will solve the issue. I tried changing the code but I was not able to run the application due to a lot of errors.

comments