Hi all,
I bind a list object as a data source in my report. I created a group and for every 'id' in detail section i want to show two properties in chart. Think that my class is
I produce List<SurveyListGraphicalCompareModel> data source from database and bind it to report in my
page's code behind like that :
I grouped data source by QuestionID. And for every QuestionID i want to display Question and a chart(Avg-Sc
ore, AvgScoreEx) in a horizontal series orientation. But i failed and get "There is no or empty series"
error. I could understand how to identify a series regarding to data source field. Could not find any
tutorial explains how to dynamically data bind in telerik reporting chart. The examples i looked up were always on static data source. Could you please show me some examples about that or help me for this specific problem.
Thanks.
I bind a list object as a data source in my report. I created a group and for every 'id' in detail section i want to show two properties in chart. Think that my class is
public class SurveyListGraphicalCompareModel { public string Question{ get; set; } public Guid? QuestionID { get; set; } public decimal? avgScore { get; set; } public decimal? avgScoreEx { get; set; } }I produce List<SurveyListGraphicalCompareModel> data source from database and bind it to report in my
page's code behind like that :
Reporting.GraphicalComparison rapor = new Reporting.GraphicalComparison(); myReport.DataSource = myDataSource; this.ReportViewer1.Report = myReport;I grouped data source by QuestionID. And for every QuestionID i want to display Question and a chart(Avg-Sc
ore, AvgScoreEx) in a horizontal series orientation. But i failed and get "There is no or empty series"
error. I could understand how to identify a series regarding to data source field. Could not find any
tutorial explains how to dynamically data bind in telerik reporting chart. The examples i looked up were always on static data source. Could you please show me some examples about that or help me for this specific problem.
Thanks.