I'm having issues trying to bind my RadCartesianChart to different objects. I'm Trying to create a simple bar graph that shows the loan amount for each of the 3 objects. I'm using an MVVM pattern and the DataContext does have my 3 objects (Current, Proposed, PayDown) available. I'd like to set up the bindings in XAML. Here's what I currently have:
<telerikChart:RadCartesianChart Width="500" >
<chartView:BarSeries ItemsSource="{Binding CurrentLoan}" ValueBinding="LoanAmount" CategoryBinding="Name"/>
<chartView:BarSeries ItemsSource="{Binding Proposed}" ValueBinding="LoanAmount" CategoryBinding="Name"/>
<chartView:BarSeries ItemsSource="{Binding PayDown}" ValueBinding="LoanAmount" CategoryBinding="Name"/>
<telerikChart:RadCartesianChart.HorizontalAxis>
<chartView:CategoricalAxis/>
</telerikChart:RadCartesianChart.HorizontalAxis>
<telerikChart:RadCartesianChart.VerticalAxis>
<chartView:LinearAxis/>
</telerikChart:RadCartesianChart.VerticalAxis>
</telerikChart:RadCartesianChart>
After Loading the app it displays "No Data Series" added. If I throw the objects to a list and set the items source for each BarSeries to an object in that list it works no problem. Any Ideas on what I'm droing wrong? Thanks!