I am fetching data from service and I am trying to bind data to bar chart I am unable to do this see my code
protected async override void OnNavigatedTo(NavigationEventArgs e)
protected async override void OnNavigatedTo(NavigationEventArgs e)
{
StatusServiceReferenceHost.Service1Client MyService = new StatusServiceReferenceHost.Service1Client();
var data = await MyService.GetStatusAsync();
foreach (var cchart in cidata)
{
//I am nt sure how to bind
(dataChart.Series[0] as BarSeries).ItemsSource = cdata;
}
in my get method I have more columns but I wanto bind only 2 columns suppose I have name and datacount columns pls help me onthis