Hi,
I am unable to define correctly the Horizontal Stackbar 100..
I have this xaml:
<Controls3:RadChart ItemsSource="{Binding ChartData}">
<Controls3:RadChart.SeriesMappings>
<telerikCharting:SeriesMapping LegendLabel="Task status" CollectionIndex="0">
<telerikCharting:SeriesMapping.SeriesDefinition>
<telerikCharting:HorizontalStackedBar100SeriesDefinition StackGroupName="Work status" />
</telerikCharting:SeriesMapping.SeriesDefinition>
<telerikCharting:SeriesMapping.ItemMappings>
<telerikCharting:ItemMapping DataPointMember="YValue" />
</telerikCharting:SeriesMapping.ItemMappings>
</telerikCharting:SeriesMapping>
</Controls3:RadChart.SeriesMappings>
</Controls3:RadChart>
and the data source is
public List<double[]> ChartData
{
get { return new List<double[]>() {new[] {120.0, 60.5}}; }
}
but the chart is showing two bars instead of one which should be stacked with these two values.
What am I missing here?
thanks,
David
I am unable to define correctly the Horizontal Stackbar 100..
I have this xaml:
<Controls3:RadChart ItemsSource="{Binding ChartData}">
<Controls3:RadChart.SeriesMappings>
<telerikCharting:SeriesMapping LegendLabel="Task status" CollectionIndex="0">
<telerikCharting:SeriesMapping.SeriesDefinition>
<telerikCharting:HorizontalStackedBar100SeriesDefinition StackGroupName="Work status" />
</telerikCharting:SeriesMapping.SeriesDefinition>
<telerikCharting:SeriesMapping.ItemMappings>
<telerikCharting:ItemMapping DataPointMember="YValue" />
</telerikCharting:SeriesMapping.ItemMappings>
</telerikCharting:SeriesMapping>
</Controls3:RadChart.SeriesMappings>
</Controls3:RadChart>
and the data source is
public List<double[]> ChartData
{
get { return new List<double[]>() {new[] {120.0, 60.5}}; }
}
but the chart is showing two bars instead of one which should be stacked with these two values.
What am I missing here?
thanks,
David