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

Problems Creating proper Column Chart

1 Answer 48 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Roro
Top achievements
Rank 1
Roro asked on 17 Jul 2013, 05:59 PM
I am using Visual Studio 2012 .
I created a business Object , created a Telerik Report and have it successfully connected to the business object data source.
The method that gets the data returns a DataTable . I have a column for event Id and another one for duration and If I use a table I am able to see 40 rows with their specific event Id and event duration.

NOW when I use the graph wizard, select the clustered column, select the data source, I put the eventId in Categories and Duration in Values. When I try to preview the report I obtain 40 different empty graphs. Why is that? What am I doing wrong?
I want the information of all the rows to be in ONE graph.

Any help is appreciated!
Thanks!

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 22 Jul 2013, 01:39 PM
Hello Roro,

It seems that you have used a data item (subreport, table, graph, list or crosstab) in the report's detail section. However the data items are a separate data region and does not make use of the report's data source. They have their own DataSource property which you have set in order to populate the item with data. However if you have in addition set the Report.DataSource property. The report engine will create a detail section with the data item for every data record. To avoid this behavior our suggestion is to set the Report.DataSource property to none or move the table item to another non repeating section such as report header or unbound group header (group without grouping).

Regards,
Peter
Telerik

Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.

Tags
General Discussions
Asked by
Roro
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or