RadChart Grouping by Month

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

    Posted 12 Apr 2013 Link to this post

    Hi Telerik team!
    Thanks I want to say thank you for the good work you are doing on the support, really appreciate that!

    So, lets go to the problem I have.

    I need to show in a RadChart Bars the behaivor per month the booking I have been doing in each month and sum all the booking by month.
    For example I have this in my data source:

    <
    Date    Booking
    1/2/2013      2
    3/2/2013      1
    5/2/2013      2

    1/3/2013      2
    5/3/2013      6

    1/4/2013      1

    >

    When I group on my RadChart will be this way
    <
    Month    Booking
    1 5
    3 8
    4 1
    >

    What I want to show on my Chart is for the Y the value of the Booking and for the X the month (1,2,3,4...12), if the value Booking in a month doesnt exist then would be zero.
    How could I group by month(include all month even if there are not Booking for that month).
    Thanks in advance!!!

  2. Joan
    Joan avatar
    29 posts
    Member since:
    Feb 2013

    Posted 12 Apr 2013 Link to this post

    I dont know what I am doing but I am trying to use the Group and aggregate but cant, says I am missing a reference directive, but I use telerik charting and telerik.we.ui, really dont know what happen? Please if somebody can help me?
    Thanks!
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Joan
    Joan avatar
    29 posts
    Member since:
    Feb 2013

    Posted 12 Apr 2013 Link to this post

    Telerik team, how could I group and also sum this?
    I just want to show in the X the 12 month of the current year and at Y the value of the sum of all booking per month.
    Please give me a hint!
    Thanks!
  5. Joan
    Joan avatar
    29 posts
    Member since:
    Feb 2013

    Posted 12 Apr 2013 Link to this post

    Any suggestion please?  By the way my datasource is an object list of booking object. Hope u can help me as soon as possible. Thanks!
  6. Vikram
    Vikram avatar
    10 posts
    Member since:
    Oct 2010

    Posted 15 Apr 2013 Link to this post

    Hello Joan,

    You can check link: RadChart Grouping and Aggregation.

    It provide hint on how to perform grouping and aggregation for asp.net radchart control.
  7. Petar Kirov
    Admin
    Petar Kirov avatar
    425 posts

    Posted 17 Apr 2013 Link to this post

    Hi Joan,

    I have answered your question in the other forum thread started by you here.
     

    Kind regards,
    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
UI for ASP.NET Ajax is Ready for VS 2017