Telerik Forums
Reporting Forum
2 answers
132 views
Hello Telerik team,

I created a pie chart dynamically in the pie NeedDataSource function.
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);
}

Unfortunatly the chart is duplicated at each row as you can see with the attached file.
Have you got an idea please ?

Thanks



Forest
Top achievements
Rank 1
 answered on 19 Jul 2012
1 answer
149 views
Hi , 

i am usinf Q2 2012 Telerik Reporting, i  used Sql data source for my report . this sql datasource returns the fields , i bound those fields with some tex boxes , all text boxes bind correctly but one text box not showing the value when run the report, that why i am trying using the itemdatabound for that text box,
can you please help how to bind the Texbox with fields of SQlDatasource PlZZ help Me ASAP

Thanks in Advance
Siva
Milen | Product Manager @DX
Telerik team
 answered on 19 Jul 2012
2 answers
133 views

It's a crosstab with grouping, can I set one row bold?

Li
Top achievements
Rank 1
 answered on 19 Jul 2012
1 answer
94 views
In a report I am building I need to add multiple fields together. It looks like in the preview though it is using the values as text and concatenating it end to end.  Is there an example of how to do this somewhere?

This is what I have in the expression editor

= (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) ))

Any help would be greatly appreciated.
IvanY
Telerik team
 answered on 18 Jul 2012
1 answer
164 views
Hello, Have you planned to develope an end-user editor that can be used at runtime integrated with an application? Our applications use EF entities and we need our end-users to be able to change and design new reports. At that moment we use stimulsoft suite, and we plan to change due to slow performance with big business objects structures. Have you any roadmap for such a functionality? Thank you David
Peter
Telerik team
 answered on 18 Jul 2012
1 answer
135 views
Hi,

I am using Table Control in Report Header to show summary data for the report.
I am using sqlDataSource to bind data to the table in the designer.

The summary information is shown properly, but i need to total the summary information.
So i basically need to add another row at the bottom of table which sums the individual column values for each row in the table.

But my menu has "Add Total" Disabled.

Pls help me out.

Thanks.
Srinath.
Elian
Telerik team
 answered on 18 Jul 2012
1 answer
96 views
Hi,

i wanted to know if there is an example of that feature ( End-User Capabilities) in telerik reports. Its possible allow to the user to create their own queries?  Everything working with OLAP?  i wanna build, a web-cube where the user can select data and work with it. is that posible throught telerik reporting?


Thanks in advance and sorry for my bad english!
Peter
Telerik team
 answered on 18 Jul 2012
4 answers
518 views

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.

c
Top achievements
Rank 1
 answered on 18 Jul 2012
5 answers
737 views
I'm not sure if this belongs here or in the Silverlight forums.  I have a 14 project solution with a reporting project that references a SilverIight project (gauges) and 4 of the Telerik Silverlight dlls.  I have just upgraded from Telerik 2011 Q3 to Telerik 2012 Q2.  One of the major changes is that the RadControls for Silverlight default install now support only Silverlight 5.0 (I know I can get DLLs for 4.0, but thought it was time to move on).  Silverlight 5.0 requires .NET 4.0, so I have had to change the Target Framework to .NET 4.0 on my Silverlight project and then the reporting project.  However, as soon as i changed the Target Framework on the the reporting project, the "Telerik.Reporting.dll' item in the project's references list has an exclamation icon next to it and the project throws the error "Referenced component 'Telerik.Reporting' could not be found" on compilation.

I spent a day chasing my tail last week when I first attempted to upgrade the solution to the latest and greatest.  I could never find the right combination of Target framework / App pools, etc. to get the app to run.  There were warnings about assemblies with dependencies on a version of the .NET Framework that is higher than the target and might not load correctly during runtime causing a failure for Telerik.Windows.Themes.Office_Blue and 2 of my project dlls.  So, I started over and decided to stop at the first error I could not resolve and get help.

I have removed the reference to 'Telerik.Reporting' and re-added it more than once.  The properties panel for it is blank - version 0.0.0.0, no description or path, etc.

Pleasse let me know if additional information is required for your understanding.

Best,
Scott
IvanY
Telerik team
 answered on 17 Jul 2012
2 answers
271 views
Hi,

We get this exception while not making big reports. We never make reports bigger then 5 pages.
We do make alot reports. Can the numbers of reports cause this exception?

Or do need to put the ReportProcessor in a using statement?

Piece of our code :

System.Drawing.Printing. 

PrintController standardPrintController = new System.Drawing.Printing.StandardPrintController();  

ReportProcessor reportProcessor = new ReportProcessor();  

reportProcessor.PrintController = standardPrintController; 

reportProcessor.PrintReport(report, printerSettings);

Our exception logging :

---EXCEPTIONS----------

[OutOfMemoryException]
Out of memory.


---STACK TRACE----------

at System.Drawing.Image.FromStream(Stream stream, Boolean useEmbeddedColorManagement, Boolean validateImageData)
at Telerik.Reporting.Processing.ReportPrintDocument.OnPrintPage(PrintPageEventArgs eventArgs)
at System.Drawing.Printing.PrintDocument._OnPrintPage(PrintPageEventArgs e)
at System.Drawing.Printing.PrintController.PrintLoop(PrintDocument document)
at System.Drawing.Printing.PrintController.Print(PrintDocument document)
at System.Drawing.Printing.PrintDocument.Print()
at Telerik.Reporting.Processing.ReportProcessor.PrintReport(IReportDocument reportDocument, PrinterSettings printerSettings)
at CLGroup.Intranet.DataFacade.Print.ExecutePrint.ExecutePrintDocument() PrinterName : \\EMVMIIS01\GELAS01 BranchId : 11 Feature : InvoicePrint

IvanY
Telerik team
 answered on 17 Jul 2012
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?