c# - Linq date to weeks: google visualisation line chart JSON format -


i have data returned in format:


| name | weeklytotal | weekend |


name1 | 2 | 2014-03-07
name2 | 4 | 2014-01-03
name1 | 3 | 2014-02-28
name3 | 3 | 2014-03-07

etc. trying project data on chart, using google visualization. need linq statement group data object like: week1 => { name1 = 2, name2 = 0, name3 = 3}

basically, each week, return object weekly totals each name on list. have not idea of how going approach this.


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -