Hello Telerik Team,
In my WPF application I'm using your Pyramid3D Chart. In that I want to show couple of things, like
1) I have to show the respective count as a tooltip on the hover of respective areas (in my case they are High, Medium and Low). I'm trying to achieving this by using below code, but didn't get proper output.
2) Also I want to show the chart according to the LegendLabel (like high show come first and then Medium and then Low). But it is currently showing in a random order (i.e in my case Medium priority
For more clarification, please find the screenshot of the same as an attachment.
In my WPF application I'm using your Pyramid3D Chart. In that I want to show couple of things, like
1) I have to show the respective count as a tooltip on the hover of respective areas (in my case they are High, Medium and Low). I'm trying to achieving this by using below code, but didn't get proper output.
2) Also I want to show the chart according to the LegendLabel (like high show come first and then Medium and then Low). But it is currently showing in a random order (i.e in my case Medium priority
is showing at the top and then High is showing) . Just want to know how we can manage this behavior.For more clarification, please find the screenshot of the same as an attachment.
void LoadGraphData(IEnumerable<
CasePriorityCount
> data)
{
SeriesMappingCollection mappingCollection = new SeriesMappingCollection();
SeriesMapping mapping = new SeriesMapping();
mapping.ItemMappings.Add(new ItemMapping("Count", DataPointMember.YValue));
mapping.ItemMappings.Add(new ItemMapping("Priority", DataPointMember.LegendLabel));
mapping.ItemMappings.Add(new ItemMapping("Count",DataPointMember.Tooltip));
mapping.SeriesDefinition = new Pyramid3DSeriesDefinition();
List<
CaseByPriority
> caseByPriorityData = new List<
CaseByPriority
>();
foreach (CasePriorityCount caseByPriorityCount in data)
{
caseByPriorityData.Add(new CaseByPriority(caseByPriorityCount.Count, caseByPriorityCount.Priority));
}
mappingCollection.Add(mapping);
ViewModel.SeriesMappingsData = mappingCollection;
ViewModel.Data = caseByPriorityData;
}