Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
255
Problems with chart
posted

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.

 

<

 

TextBox x:Name="TextBox1" Text="{Binding FleetUtilisations.Count}"></TextBox> 

 

 

<TextBox x:Name="TextBox2" Text="{Binding}"></TextBox>

 

 

 

 

<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!

 

 

 

 

Parents
No Data
Reply Children