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

MVC passing data from ViewModel for PieChart

1 Answer 57 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Gilbert
Top achievements
Rank 1
Gilbert asked on 02 Sep 2013, 09:01 PM
Hi,

I have an MVC application and pass ViewModels to the Object Data Source for my reports. All reports i've written are tabular, nothing complex. I now need to display a pie chart on my report.

Can I still use a view model for the data source? I've not found any examples anywhere of using pie charts this way, is it possible?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Squall
Top achievements
Rank 1
answered on 03 Sep 2013, 01:08 PM
You can use the same datasource, just set it to the chart/graph.DataSource. http://www.telerik.com/help/reporting/graphoverview.html
Tags
General Discussions
Asked by
Gilbert
Top achievements
Rank 1
Answers by
Squall
Top achievements
Rank 1
Share this question
or