I am having a little trouble getting to grips with the cart control in silverlight. I have a ViewModel with an Observable collection of "FleetUtilisations" and I want to display them in the chart.
<
<igChart:XamWebChart x:Name="Chart1">
<igChart:XamWebChart.Series>
<igChart:Series ChartType="Bar" DataSource="{Binding FleetUtilisations}" DataMapping="Value=Utilisation;Label=BusinessUnit"> </igChart:Series>
</igChart:XamWebChart.Series>
</igChart:XamWebChart>
I am not sure why this is not displaying anything?
P.S. There must be an easyer way to past in code!
I have found that this only works if you create the Series in code! Is the controls DataContext not available in a series?
this is fixed in the upcoming service release for NetAdvantage for Silverlight Data Visualization, which should be released any day now.