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

More Graphs on Report

1 Answer 39 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
simcon94
Top achievements
Rank 1
simcon94 asked on 12 Dec 2013, 09:02 PM
Hi,
how can i set more graphs on the Report programically?
I have a List of Data, and i want have for every Data an own graph.
This is dynamically via a for loop...because i don't now at the start how many graphs i need

something like that:
for(var i = 0; i<List.count; i++){
var graph = new Graph()
......
}

But how and where?

1 Answer, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 16 Dec 2013, 01:54 PM
Hello Simon,

The recommended approach is to place the Graph item in the detail section of the report or nest it in another data-driven item (e.g. Table/Crosstab/List) while designing the report. Then set the Data Source of the parent item to your list of data. This way the graph will be displayed once for each record in the data source.

Regards,
Nasko
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
simcon94
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Share this question
or