I am try to create a stackedbar100 chart, everything looks fine for me, except I cannot display the words in the x-Axis, at the moment, the x-Axis only display numbers, such as (1 2 3 4 ...), I want this changed to a list of words, i.e. (Ford Toyota Honda ....). When I try to map it to a list of class (as below), it always give me this error : No IEnumerable item found at index: 0 in the ItemsSource!. So can you show me how to do this, thanks a lot.
SeriesMapping seriesMapping = new SeriesMapping();
seriesMapping.SeriesDefinition = new StackedBar100SeriesDefinition();
seriesMapping.ItemMappings.Add(new ItemMapping("brand", DataPointMember.XValue));
seriesMapping.ItemMappings.Add(new ItemMapping("percent", DataPointMember.YValue));
radChart.SeriesMappings.Add(seriesMapping);
radChart.ItemsSource = CreatePercentage();
SeriesMapping seriesMapping = new SeriesMapping();
seriesMapping.SeriesDefinition = new StackedBar100SeriesDefinition();
seriesMapping.ItemMappings.Add(new ItemMapping("brand", DataPointMember.XValue));
seriesMapping.ItemMappings.Add(new ItemMapping("percent", DataPointMember.YValue));
radChart.SeriesMappings.Add(seriesMapping);
radChart.ItemsSource = CreatePercentage();