or
void chart1_NeedDataSource(object sender, EventArgs e){ List<Product> products = new List<Product>(); products.Add(new Product("Parka L", 120)); products.Add(new Product("Parka M", 100)); products.Add(new Product("Parka S", 132)); Telerik.Reporting.Processing.Chart procChart = (Telerik.Reporting.Processing.Chart)sender; Telerik.Reporting.Chart defChart = (Telerik.Reporting.Chart)procChart.ItemDefinition; defChart.IntelligentLabelsEnabled = false; ChartSeries serie = new ChartSeries(); serie.Type = ChartSeriesType.Pie; serie.Clear(); serie.Appearance.LegendDisplayMode = Telerik.Reporting.Charting.ChartSeriesLegendDisplayMode.ItemLabels; foreach (Product lst in products) { ChartSeriesItem item = new ChartSeriesItem(); item.YValue = (double)lst.QuantityInStock; item.Name = (string)lst.Name; item.Appearance.Exploded = true; item.Label.TextBlock.Text = (string)lst.Name + " - #%"; serie.Items.Add(item); } defChart.Series.Add(serie);}
It's a crosstab with grouping, can I set one row bold?
= (Fields.income_monthly10 + Fields.income_monthly9 + Fields.income_monthly8 + Fields.income_monthly7 + Fields.income_monthly6 + Fields.income_monthly5 + Fields.income_monthly4 + Fields.income_monthly3 + (CDbl(Fields.income_annual1) /12) + (CDbl(Fields.income_annual2) /12) ))Hi,
How can i center the page in reportviewer? i can't find the property to set it,it seems always to be left of the reportviewer.
I use the 2011Q3 version in Silverlight.
Thanks.