How to configure bar or column chart ?

4 posts, 0 answers
  1. scott
    scott avatar
    67 posts
    Member since:
    Jul 2010

    Posted 15 Jul 2014 Link to this post

    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?

  2. Danail Vasilev
    Danail Vasilev avatar
    1502 posts

    Posted 16 Jul 2014 Link to this post

    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.

    Danail Vasilev

    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.

  3. scott
    scott avatar
    67 posts
    Member since:
    Jul 2010

    Posted 16 Jul 2014 in reply to Danail Vasilev Link to this post

    Hi Danail, thank you for your rapid reply. 

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

  4. Ed
    Ed avatar
    4 posts
    Member since:
    Apr 2014

    Posted 21 Jul 2014 Link to this post

    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.
Back to Top