or
private
void
PieChart_NeedDataSource(
object
sender, System.EventArgs e)
{
//Charts - Columns to Display
string
[] GraphColumnsToExport =
new
string
[2] {
"ShortLegendTitle"
,
"Data"
};
//Charts
DataTable Total = _SharedDataSet.Tables[
"CurrentYearToDate"
].DefaultView.ToTable(
"tempTableName"
,
false
, GraphColumnsToExport);
//Set the Series
Telerik.Reporting.Processing.Chart procChart = (Telerik.Reporting.Processing.Chart)sender;
Telerik.Reporting.Chart defChart = (Telerik.Reporting.Chart)procChart.ItemDefinition;
ChartSeries serie =
new
ChartSeries();
serie.Type = ChartSeriesType.Pie;
serie.Clear();
foreach
(DataRow dr
in
Total.Rows)
{
ChartSeriesItem item =
new
ChartSeriesItem();
item.Label.Visible =
true
;
item.YValue = Convert.ToDouble(dr[
"Data"
]);
item.Name = Convert.ToString(dr[
"ShortLegendTitle"
]);
item.Appearance.Exploded =
false
;
item.Label.TextBlock.Text = item.Name +
" - #%"
;
serie.Items.Add(item);
}
serie.Appearance.LegendDisplayMode = ChartSeriesLegendDisplayMode.ItemLabels;
defChart.Series.Add(serie);
}
Hi
Is there a way to change the toolbar layout to add margins / paddings.
Somehow the text in the pagination area is dropping a few pixels when viewed in ie9.
see attached screendump image
Maybe you have a fix/solution that help us.
Best Regards
Peter
<
UserControl
x:Class
=
"Etelesolv.Telemanager.TME.UserControls.Invoice.InvoiceReportUC"
xmlns:my
=
"clr-namespace:Telerik.ReportViewer.Silverlight;assembly=Telerik.ReportViewer.Silverlight"
mc:Ignorable
=
"d"
d:DesignHeight
=
"500"
d:DesignWidth
=
"400"
>
<
my:ReportViewer
Name
=
"ReportViewer1"
HorizontalAlignment
=
"Stretch"
MinWidth
=
"400"
RenderBegin
=
"ReportViewer1_RenderBegin"
ReportServiceUri
=
"../MyReportingService1.svc"
Report
=
"MyReport.Reporting.Invoice, MyReport.Reporting"
UseNativePrinting
=
"True"
/>
</
UserControl
>
When the report has been exported to the pdf file, the 'save as ' file dialog has displayed,but the default filename is blank.
At this moment,I need to set the default filename.
how to do it ? I am in urgent for your help.
Thanks.
please see the illustration in the attachment file.