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

Binding to aggregate value of datasource

1 Answer 299 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 30 May 2012, 10:10 PM
Please forgive if this is a double post.  I posed this question in the original thread in the "Preview Forum Thread" which is no longer accessible in the forum listing.  So I thought I'd repost in an active forum.

I've been trying to display aggregate values in my charts.  Both a pie chart and a bar chart.  The basic idea is that I grab one table of data and then aggregate it into different displays.  Via searching I've found an example for doing this in a pie chart.  Basically we need to build our own series rather than being able to bind to the aggregate sum.

here's the post
http://www.kendoui.com/forums/dataviz/general-discussions/aggregate-pie-chart.aspx#2066234 
here's the related jsfiddle
http://jsfiddle.net/valchev/VzWdk/ 

I've managed to get it also working for bar charts as well

http://jsfiddle.net/yf9cF/ 

Any plans on making this feature available where we can bind to aggregate values when we group data?

Regards,

Chris

1 Answer, 1 is accepted

Sort by
0
Chris
Top achievements
Rank 1
answered on 30 May 2012, 10:20 PM
please ignore this one. it appears i accidentally posted in the wrong forum
Tags
Charts
Asked by
Chris
Top achievements
Rank 1
Answers by
Chris
Top achievements
Rank 1
Share this question
or