This project is read-only.

[Charts] StackedColumnChart Update ItemSource fails

Oct 28, 2013 at 11:38 PM
I am using this xaml-Code:
<xamlToolKitCharting:Chart Tapped="StackedColumn_Tapped">
            <xamlToolKitCharting:SeriesDefinition DependentValuePath="BytesSent" IndependentValuePath="Name" Title="Upload" IsHitTestVisible="True" ItemsSource="{Binding Items}"/>
To bind the ItemSource of a SeriesDefinition to this:
public ObservableCollection<ConsumptionInterval> Items {get;set;}
Now everything works fine, untill I update the Items property. When I update this, and the PropertyChanged is called and error occurs. It throws the exception "Value does not fall within the excepted range". This is caused in the "DelegatingListBox.cs" in the void "ClearContainerForItemOverride" by calling " base.ClearContainerForItemOverride(element, item);". Can you please give me any advice what this means/how this occurs, or how I can solve it? Because I really do not know why this occurs.