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

How to configure bar or column chart ?

3 Answers 22 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
scott
Top achievements
Rank 1
scott asked on 15 Jul 2014, 04:14 PM
Hi.  I just need something to get me started.

Please see the attachment for a picture of the data from an SQL data source, and the simple chart I'm trying to build. 

What goes inside the <telerik:RadHtmlChart /> to bind the fields and achieve the basic format shown?

I can repackage the data somewhat to make binding easier if that's needed.

Can you help?

Thanks.

3 Answers, 1 is accepted

Sort by
0
Danail Vasilev
Telerik team
answered on 16 Jul 2014, 08:08 AM
Hello Scott,

In order to bind the RadHtmlChart control you must reference each series to a data source field. You can find example in the Data Binding section of the online demo.

If you want, however, to group the data source you must manually do that. Such an example is illustrated in this CL.

Regards,
Danail Vasilev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
scott
Top achievements
Rank 1
answered on 16 Jul 2014, 02:50 PM
Hi Danail, thank you for your rapid reply. 

I need some time to digest that grouping function - it looks weird to me.

0
Ed
Top achievements
Rank 1
answered on 22 Jul 2014, 03:32 AM
Why wouldn't you do the grouping in SQL?  That's exactly what I do to make wiring up the charts very straightforward.  SQL is made to do grouping, don't try to reinvent it.
Tags
Chart (HTML5)
Asked by
scott
Top achievements
Rank 1
Answers by
Danail Vasilev
Telerik team
scott
Top achievements
Rank 1
Ed
Top achievements
Rank 1
Share this question
or