RadChart data source anonymous type list

Thread is closed for posting
2 posts, 0 answers
  1. Joan
    Joan avatar
    29 posts
    Member since:
    Feb 2013

    Posted 15 Apr 2013 Link to this post

    Hi Telerik Team!

    I have been trying to get a solution to this but without any success, I have added some posts but any answer.
    Please if you dont mind would appreciate your help.
    This is my scenario:

    BookingDate      BookingValue
    1/1/2013              3
    3/1/2013              6
    13/2/2013            5
    3/4/2013              3
    13/4/2013            15
    I just wnat to group by BookingDate(just by month) and Sum BookingValue for all the items belong to the same month (year was filter priviously), I need to show this information in a RadChart, my X would be month (from 1 to 12, even if there are not BookingValue for a month) and my Y would be my BookingValue.
    I have been trying many ways but without any success. Please if you can hel me as soon as possible I really appreciate it! Thanks!
    One thing I did was grouping all first but with anonymous type, but then dont know what to do???
  2. Petar Kirov
    Petar Kirov avatar
    425 posts

    Posted 18 Apr 2013 Link to this post

    Hi Joan,

    Please refer to my post in this forum thread.

    I hope you will find my answer helpful.
    Petar Kirov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top