This is a migrated thread and some comments may be shown as answers.

Simple Pie Chart, NO DATASOURCE

2 Answers 150 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Larry
Top achievements
Rank 2
Larry asked on 05 Feb 2014, 10:28 PM
Hello,
This is actually the first time I have tried to put a chart on a report.
There is a lot of data on the report that comes from the database, but I post process that data and gather some specific information.
A couple pieces of the information is integer values for "Completed" and "Remaining". I set up a couple report parameters to pass this information over to the report, but I cannot seem to figure out how to hook it up to the pie chart.
Any help would be appreciated.

Thank you

2 Answers, 1 is accepted

Sort by
0
Larry
Top achievements
Rank 2
answered on 06 Feb 2014, 06:57 PM
Pre process, NOT post process.... sorry
Anybody?
0
Stef
Telerik team
answered on 10 Feb 2014, 12:35 PM
Hi Larry,

Please check the How to: Create Pie Chart help article, elaborating on how to create a pie chart using the Graph item. The approach uses SeriesGroups grouping to generate series(pies) in the chart.
 
In your case, use the Graph Wizard, set the data source, and when prompted just add the two fields in the Values section - this will generate two separate bar series. If the data is related to the one bound to the report, once you finish designing the Graph item, remove its DataSource and use the approach illustrated in the How to use the ReportItem.DataObject property in expressions article to supply data.

I hope this helps you.

Regards,
Stef
Telerik

New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.

Tags
General Discussions
Asked by
Larry
Top achievements
Rank 2
Answers by
Larry
Top achievements
Rank 2
Stef
Telerik team
Share this question
or