This question is locked. New answers and comments are not allowed.
Hi,
I am displaying total for particular stack series using following code. I want two extra functionality for below code.
1) i want click able total link so that once can redirect to drill down to child report.
2) i want to change the format of displaying numeric value in total. exp. from 1000 to 1,000.
Please note that i have displayed total in DataPointMember.Lable instead of DataPointMember.YValue.
Could you please suggest which api's are available for this.
BarSeriesDefinition seriesDefinition1 = CreateStackedBarSeriesDefinition(orientation, chartType); seriesDefinition1.Appearance.Foreground = new SolidColorBrush(Colors.White); seriesDefinition1.Appearance.Fill = new SolidColorBrush(Colors.Orange); var style = new Style(typeof(SeriesItemLabel)); style.Setters.Add(new Setter(SeriesItemLabel.FontFamilyProperty, new FontFamily(ARIAL_FONT))); style.Setters.Add(new Setter(SeriesItemLabel.FontWeightProperty, FontWeights.Bold)); style.Setters.Add(new Setter(SeriesItemLabel.FontSizeProperty, 20)); style.Setters.Add(new Setter(Border.BackgroundProperty, new SolidColorBrush(Colors.Transparent))); seriesDefinition1.SeriesItemLabelStyle = style; seriesDefinition1.LabelSettings.Distance = -20; SeriesMapping seriesMapping1 = new SeriesMapping { LegendLabel = TOTAL, SeriesDefinition = seriesDefinition1 }; seriesMapping1.ItemMappings.Add(new ItemMapping(chartXDisplayValue, DataPointMember.XCategory)); seriesMapping1.ItemMappings.Add(new ItemMapping(OVER_ALL_TOTAL, DataPointMember.Label, ChartAggregateFunction.Min)); seriesMapping1.GroupingSettings.GroupDescriptors.Add(new ChartGroupDescriptor(chartXDisplayValue)); seriesMapping1.GroupingSettings.ShouldFlattenSeries = true;