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

RadChart Grouping by Month

5 Answers 129 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Joan
Top achievements
Rank 1
Joan asked on 12 Apr 2013, 09:54 AM
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!!!

5 Answers, 1 is accepted

Sort by
0
Joan
Top achievements
Rank 1
answered on 12 Apr 2013, 11:40 AM
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!
0
Joan
Top achievements
Rank 1
answered on 12 Apr 2013, 12:53 PM
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!
0
Joan
Top achievements
Rank 1
answered on 12 Apr 2013, 02:23 PM
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!
0
Vic
Top achievements
Rank 2
answered on 15 Apr 2013, 01:45 PM
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.
0
Petar Kirov
Telerik team
answered on 17 Apr 2013, 09:01 PM
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.
Tags
Chart (Obsolete)
Asked by
Joan
Top achievements
Rank 1
Answers by
Joan
Top achievements
Rank 1
Vic
Top achievements
Rank 2
Petar Kirov
Telerik team
Share this question
or