Grouping programatic data

2 posts, 0 answers
  1. Mathew
    Mathew avatar
    27 posts
    Member since:
    Jul 2011

    Posted 27 Dec 2013 Link to this post

    Hi,

    I've just started using the RadHtmlChart and have been getting on quite well with it so far, however I want to create a graph that I can't see any documentation or examples of, and am wondering if it's possible.

    I have data in the following format:

    Team - Matchday - Position
    London - 1 - 1
    London - 2 - 1
    London - 3 - 2
    London - 4 - 1
    Birmingham - 1 - 2
    Birmingham - 2 - 2
    Birmingham - 3 - 1
    Birmingham - 4 - 3
    Liverpool - 1 - 3
    Liverpool - 2 - 4
    Liverpool - 3 - 3
    Liverpool - 3 - 2

    etc. etc.

    I want to display a line series for each of these teams, showing their position on each matchday.  Is there any grouping fields properties that I can set in order to do this?  I've been able to get a line graph to show the progression for one of these teams, and for all of them together (which isn't very useful!), but would like them to each have their own line.

    This is just example data, it will come from a database, so I can't just hard-code it.

    Thanks
  2. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 01 Jan 2014 Link to this post

    Hi Mathew,

    You can find helpful information on how to data bind multiple ScatterLine series in the following online demo: http://demos.telerik.com/aspnet-ajax/htmlchart/examples/databinding/bindtodataset/defaultcs.aspx


    Regards,
    Stanimir
    Telerik
    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 the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top