How to populate Stacked Bar Chart from an XML file or Datatable

Thread is closed for posting
3 posts, 0 answers
  1. Manushi
    Manushi avatar
    2 posts
    Member since:
    Feb 2011

    Posted 21 Feb 2011 Link to this post

    Hi,
    I am using VS 2010.I am new to this (AJAX RAD Controls/AJAX RAD Charts).I am having an xml file having 3 tables.Now my requirement is to plot a Stacked bar Chart dynamically retrieving values from different tables.Kindly help me out.

    I have retrive values from different table into One Datatable named "ValuesToDisplay"

    05:30  06:00  06:30  07:00  07:30  08:00  08:30  09:00  09:30  10:00  10:30 
    01       02       01       04       04        02     03        04       03         05     01       
    02        04       01      04       05        03     01        04       01         01     02       
    03        03       02      02       01        04     02        02       03         05     04      
    Now on X-axis should be the Time(ie 05:30 ......) and on Y-axis the values(ie 1 2 ...).Graph should be in this format

    10|
    9  |               ___
    8  |               |      |
    7  |               |  3  |
    6  |    ___     |___|
    5  |    |      |    |      |                           and so on ......................
    4  |    | 3   |    |  4  |    ___
    3  |    |___|    |      |    |  2  |
    2  |    |  2  |    |___|    |___|
    1  |    |___|    | 2   |    |_1_|
    0  |__|_1_|__|___|__|_1_|_________________________________________
            05:30   06:00   06:30  07:00 07:30 08:00 08:30 09:00 09:30 10:00 10:30  
  2. Bartholomeo Rocca
    Bartholomeo Rocca avatar
    247 posts
    Member since:
    May 2006

    Posted 23 Feb 2011 Link to this post

    Hello Manushi,

    I would suggest you to go through the RadChart databinding help articles to get you started -- http://www.telerik.com/help/aspnet-ajax/buildingdatabind.html.


    Greetings,
    Bart.
  3. Stefen
    Stefen avatar
    18 posts
    Member since:
    Oct 2010

    Posted 17 Jun 2011 Link to this post

    This reply is very generic and unhelpful. fyi 
Back to Top