bind bar chart using code behind (Store procedure)

Thread is closed for posting
4 posts, 0 answers
  1. Abhi Shinde
    Abhi Shinde avatar
    56 posts
    Member since:
    May 2010

    Posted 09 Jun 2011 Link to this post

    Hi,
        I want to create Bar-chart with Data comes from database. 
    I have created a stored procedures, which will return resultset.
    I am referring "http://demos.telerik.com/aspnet-ajax/chart/examples/skinning/bars/defaultcs.aspx".
    How can I do that?
    Please give some code for that.
    Thanks!
  2. Bartholomeo Rocca
    Bartholomeo Rocca avatar
    247 posts
    Member since:
    May 2006

    Posted 09 Jun 2011 Link to this post

    Hello Abhi,

    I would suggest you to review the help articles here to get you started with RadChart databinding: http://www.telerik.com/help/aspnet-ajax/radchart-data-binding.html.


    Greetings,
    Bart.
  3. Abhi Shinde
    Abhi Shinde avatar
    56 posts
    Member since:
    May 2010

    Posted 13 Jun 2011 Link to this post

    Hi Bartholomeo,

    Thanks for reply.
    It helps me lot but I am also looking for "Pie chart, Pereto Graph, Line chart" with same requirement.

    Please send some useful links. I searched lot but able to find related examples.
  4. Bartholomeo Rocca
    Bartholomeo Rocca avatar
    247 posts
    Member since:
    May 2006

    Posted 16 Jun 2011 Link to this post

    Hello Abhi,

    As far as I know RadChart does not provide built-in support for Pareto chart but you can achieve the same functionality by combining Bar and Line series types.

    As for the databinding -- the concepts outlined in the document mentioned above should be applicable to all series types (bar, pie, line). You can review the online examples here as well.


    Greetings,
    Bart.
Back to Top