Good evening.
Currently I´m using the
<chart:SfColumnSparkline/>
and want to display data via mvvm binding. When setting data to the binded collection before the view gets loaded the chart displays the data correctly.
When changing the data afterwards though the changes aren't displayed.
Inside my .xaml I use it like:
<chart:SfColumnSparkline
ItemsSource="{Binding barChart}"
YBindingPath="Result"
.../>
barChart is an ObservableCollection<model>barChart{get; set}
Result is a double inside my model.
I define the BindingContext inside the xaml since I'm using it with other views, too, including a SfDataGrid, which works without issues.
I also tried binding a System.Collection.List and writing own getter and setter, where the setter calls the OnPropertyChanged("propertyName") function, without any success.
Has some else experienced this issue and found a solution?
Kind regards.